Re: Practical impediment to supporting multiple SSL libraries - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Practical impediment to supporting multiple SSL libraries
Date
Msg-id 25819.1145048694@sss.pgh.pa.us
Whole thread Raw
In response to Re: Practical impediment to supporting multiple SSL libraries  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Practical impediment to supporting multiple SSL libraries  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> Right...  As I mentioned, the application can use cursors to
> *work-around* this foolishness in libpq but that doesn't really make it
> any less silly.

Before you define libpq's behavior as "foolishness", you really ought to
have a watertight semantics for what will happen in your proposal when a
SELECT fails partway through (ie, after delivering some but not all of
the tuples).  In my mind the main reason for all-or-nothing PGresult
behavior is exactly to save applications from having to deal with that
case.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Is full_page_writes=off safe in conjunction with PITR?
Next
From: Hannu Krosing
Date:
Subject: Re: Is full_page_writes=off safe in conjunction with