Re: [HACKERS] LIBPQ patches ... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] LIBPQ patches ...
Date
Msg-id 9125.947370422@sss.pgh.pa.us
Whole thread Raw
In response to LIBPQ patches ...  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: [HACKERS] LIBPQ patches ...
Re: [HACKERS] LIBPQ patches ...
Re: [HACKERS] LIBPQ patches ...
List pgsql-hackers
The Hermit Hacker <scrappy@hub.org> writes:
> Does anyone have anything against me applying this to the current source
> tree?  

I'm not particularly comfortable with it --- it looks like the semantics
need more careful thought, particularly concerning when the output buffer
gets flushed and what happens if we can't send data right away.  The
insertion of a pqFlush into PQconsumeInput, in particular, looks like
an ill-thought-out hack that could break some applications.

I also object strongly to the lack of documentation.  Patches that
change public APIs and come without doco updates should be rejected
out of hand, IMNSHO.  Keeping the documentation up to date should
not be considered optional --- especially not when you're talking
about something that makes subtle and pervasive changes to library
behavior.
        regards, tom lane


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] LIBPQ patches ...
Next
From: Ed Loehr
Date:
Subject: Re: [HACKERS] Re: ERROR: out of free buffers: time to abort !