From: | mha(at)postgresql(dot)org (Magnus Hagander) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Properly unregister OpenSSL callbacks when libpq is done with |
Date: | 2008-12-03 20:04:27 |
Message-ID: | 20081203200427.0A23B7545A4@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Log Message:
-----------
Properly unregister OpenSSL callbacks when libpq is done with
it's connection. This is required for applications that unload
the libpq library (such as PHP) in which case we'd otherwise
have pointers to these functions when they no longer exist.
This needs a bit more testing before we can consider a backpatch,
so not doing that yet.
In passing, remove unused functions in backend/libpq.
Bruce Momjian and Magnus Hagander, per report and analysis
by Russell Smith.
Modified Files:
--------------
pgsql/src/backend/libpq:
be-secure.c (r1.86 -> r1.87)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/be-secure.c?r1=1.86&r2=1.87)
pgsql/src/interfaces/libpq:
fe-secure.c (r1.110 -> r1.111)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-secure.c?r1=1.110&r2=1.111)
From | Date | Subject | |
---|---|---|---|
Next Message | User Achernow | 2008-12-04 00:05:07 | libpqtypes - libpqtypes: add man for PQgetErrorField, link to PQgeterror |
Previous Message | User Achernow | 2008-12-03 16:15:56 | libpqtypes - libpqtypes: final changes to error.c |
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2008-12-03 20:05:54 | Re: Re: [BUGS] libpq does not manage SSL callbacks properly when other libraries are involved. |
Previous Message | Alvaro Herrera | 2008-12-03 19:45:01 | Re: snapshot leak and core dump with serializable transactions |