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.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-misc.c | modified | +12 −46 |
| src/interfaces/libpq/fe-secure.c | modified | +158 −52 |