Fix pg_GSS_error to use conn->errorMessage more sanely, ie, actually
Tom Lane <tgl@sss.pgh.pa.us>
Fix pg_GSS_error to use conn->errorMessage more sanely, ie, actually work with the PQExpBuffer code instead of fighting it. This avoids an unnecessary limit on message length and fixes the latent bug that errorMessage.len wasn't getting set.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-auth.c | modified | +11 −24 |