Re: [HACKERS] Return results for PQexec vs PQexecP*

2006-05-17 Thread Jeroen T. Vermeulen
On Wed, May 17, 2006 19:53, Martijn van Oosterhout wrote: > The main problem with PQexec and co is that they don't really do very > well if a single query produces multiple result sets. I'm not sure if > it's defined whether you get the first or the last. In any case, if you > want all the result

Re: [HACKERS] Return results for PQexec vs PQexecP*

2006-05-17 Thread Tom Lane
"Greg Sabino Mullane" <[EMAIL PROTECTED]> writes: > Someone posted something on the DBD::Pg mailing list recently that > made me wonder if the user's problem is more of a "don't do that" > or something that may be solvable with a libpq or protocol change. > Basically, the user has a rule which swi

Re: [HACKERS] Return results for PQexec vs PQexecP*

2006-05-17 Thread Martijn van Oosterhout
On Wed, May 17, 2006 at 12:45:17PM -, Greg Sabino Mullane wrote: > Someone posted something on the DBD::Pg mailing list recently that > made me wonder if the user's problem is more of a "don't do that" > or something that may be solvable with a libpq or protocol change. > > Basically, the user