Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Peter T Mount <psqlhack@retep.org.uk>
From: Peter T Mount <psqlhack@retep.org.uk>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: byronn@insightdist.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org, pgsql-interfaces@postgresql.org
Date: 1998-04-26T15:59:33Z
Lists: pgsql-hackers
On Sun, 26 Apr 1998, Bruce Momjian wrote: [snip] > > I think for libpq, that would be a good idea, but it would mean that there > > is a difference in behaviour between the interfaces. > > > > The JDBC spec allows for multiple ResultSet's to be returned from a query, > > and our driver handles this already. > > Oh. That prevents us from changing the backend to ignore returning more > than one result for multiple queries in a PQexec. Perhaps we need a new > return query protocol character like 'J' to denote query returns that > are not the LAST return, so libpq can throw them away, and jdbc and > process them as normal, but also figure out when it gets the last one. That should be easy enough to implement. -- Peter T Mount peter@retep.org.uk or petermount@earthling.net Main Homepage: http://www.demon.co.uk/finder (moving soon to www.retep.org.uk) ************ Someday I may rebuild this signature completely ;-) ************ Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk