libpq: Trace StartupMessage/SSLRequest/GSSENCRequest correctly
Alvaro Herrera <alvherre@alvh.no-ip.org>
libpq: Trace StartupMessage/SSLRequest/GSSENCRequest correctly libpq tracing via PQtrace would uselessly print the wrong thing for these types of messages. With this commit, their type and contents would be correctly listed. (This can be verified with PQconnectStart(), but we don't use that in libpq_pipeline, so I (Álvaro) haven't bothered to add any tests.) Author: Jelte Fennema-Nio <postgres@jeltef.nl> Discussion: https://postgr.es/m/CAGECzQSoPHtZ4xe0raJ6FYSEiPPS+YWXBhOGo+Y1YecLgknF3g@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-trace.c | modified | +43 −12 |
Discussion
- libpq: Fix lots of discrepancies in PQtrace 14 messages · 2024-06-21 → 2024-08-16