pgsql: Fix previous patch so it also works if not USE_SSL (mea culpa).

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix previous patch so it also works if not USE_SSL (mea culpa).
Date: 2011-07-25 03:29:53
Message-ID: E1QlBrd-0005FU-BD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix previous patch so it also works if not USE_SSL (mea culpa).

On balance, the need to cover this case changes my mind in favor of pushing
all error-message generation duties into the two fe-secure.c routines.
So do it that way.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2ae6075b59696f044d15c9f1b60a800407471b62

Modified Files
--------------
src/interfaces/libpq/fe-misc.c | 58 ++--------
src/interfaces/libpq/fe-secure.c | 210 ++++++++++++++++++++++++++++----------
2 files changed, 170 insertions(+), 98 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-07-25 10:59:45 pgsql: Add new pgbench switch, --unlogged-tables.
Previous Message Tom Lane 2011-07-25 02:03:14 Re: pgsql: Improve libpq's error reporting for SSL failures.