Re: Nearing final release? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Nearing final release?
Date
Msg-id 2806.1097966465@sss.pgh.pa.us
Whole thread Raw
In response to Re: Nearing final release?  (Greg Stark <gsstark@mit.edu>)
Responses Re: Nearing final release?
Re: Nearing final release?
List pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> * synchonize supported encodings and docs

> Is this Abhijit's patch to add PQprepare() and PQsendPrepare()? 

No ... does it look like it?

> I'm not sure whether the patch he sent is adequate, I looked at it
> myself and was a bit skeptical. But he said my concerns were
> misplaced.

[ looks... ] The patch is definitely broken as-is, because it changes
the application-visible behavior of existing functions --- in particular
PQsendQueryParams() followed by PQgetResult() will now return a bogus
additional PGresult.  I think the cleanest solution is probably to add a
state flag indicating whether ParseComplete should generate a PGresult
or not.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: win32 pg_autovacuum make error
Next
From: "Dann Corbit"
Date:
Subject: Re: Nearing final release?