pgsql: Fix previous patch so it also works if not USE_SSL (mea culpa).
pgsql: Fix previous patch so it also works if not USE_SSL (mea culpa).
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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 ------ master Details ------- http://git.postgresql.org/pg/commitdiff/bcf23ba4bf8323f875168c5dbc93265a140753e8 Modified Files -------------- src/interfaces/libpq/fe-misc.c | 58 ++-------- src/interfaces/libpq/fe-secure.c | 210 ++++++++++++++++++++++++++++---------- 2 files changed, 170 insertions(+), 98 deletions(-)