postgresql/src/interfaces
Bruce Momjian e6311b4ad0 The attached patch implements some changes that were discussed a
couple weeks ago on the hackers and interfaces lists:

1. When the backend sends a NOTICE message and closes the connection
   (typically, because it was told to by the postmaster after
   another backend coredumped), libpq will now print the notice
   and close the connection cleanly.  Formerly, the frontend app
   would usually terminate ungracefully due to a SIGPIPE.  (I am
   not sure if 6.3.2 behaved that way, but the current cvs sources
   do...)

2. libpq's various printouts to stderr are now fed through a single
   "notice processor" routine, which can be overridden by the
   application to direct notices someplace else.  This should ease
   porting libpq to Windows.

I also noticed and fixed a problem in PQprint: when sending output
to a pager subprocess, it would disable SIGPIPE in case the pager
terminates early (this is good) --- but afterwards it reset SIGPIPE
to SIG_DFL, rather than restoring the application's prior setting
(bad).

			regards, tom lane
1998-08-09 02:59:33 +00:00
..
ecpg From: Dr. Michael Meskes <meskes@online-club.de> 1998-08-05 04:47:54 +00:00
jdbc Added missing file. 1998-06-16 06:57:27 +00:00
libpgtcl Update linux_i386 fix. 1998-07-12 18:48:08 +00:00
libpq The attached patch implements some changes that were discussed a 1998-08-09 02:59:33 +00:00
libpq++ Fix distclean in libpq++. 1998-07-12 19:20:45 +00:00
odbc Version 06-30-0248 1998-07-22 23:47:48 +00:00
perl5 adapted Makefile.PL to be build in source tree 1998-06-01 16:41:27 +00:00
python Change Postgres95 to PostgreSQL. Update CLUSTER manual page. 1998-03-14 21:58:09 +00:00
Makefile Remove fork()/exec() and only do fork(). Small cleanups. 1998-05-29 17:00:34 +00:00