Re: PQputCopyEnd doesn't adhere to its API contract - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PQputCopyEnd doesn't adhere to its API contract
Date
Msg-id 23887.1399654749@sss.pgh.pa.us
Whole thread Raw
In response to Re: PQputCopyEnd doesn't adhere to its API contract  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> That looks pretty good.   However, I'm realizing this isn't the only
> place where we probably need to clarify the language.  Just to take
> one example near at hand, PQputCopyData may also return 1 when it's
> only queued the data; it seems to try even less hard than PQputCopyEnd
> to ensure that the data is actually sent.

Well, we certainly do NOT want a flush in PQputCopyData.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: PQputCopyEnd doesn't adhere to its API contract
Next
From: Alexander Korotkov
Date:
Subject: Re: [COMMITTERS] pgsql: Clean up jsonb code.