Andrew Chernow wrote:
Tom Lane wrote:
Silently not locking is surely
not very safe.


Here is the dump code version of the patch. If anyone wants the return value idea, let me know.


------------------------------------------------------------------------



A more graceful solution would be to print something to stderr and then exit. This allows an app's atexit funcs to run. I don't think libpq should core dump an app by choice. I'd be pretty upset if a library I was using core dumped in some cases rather than exiting.

andrew

--
Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches

Reply via email to