pgsql: libpq: Trace responses to SSLRequest and GSSENCRequest

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: libpq: Trace responses to SSLRequest and GSSENCRequest
Date: 2024-08-14 18:57:26
Message-ID: E1seJBW-004Aew-Rm@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

libpq: Trace responses to SSLRequest and GSSENCRequest

Since these are single bytes instead of v2 or v3 messages they need
custom tracing logic. These "messages" don't even have official names
in the protocol specification, so I (Jelte) called them SSLResponse and
GSSENCResponse here.

Author: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
Discussion: https://postgr.es/m/CAGECzQSoPHtZ4xe0raJ6FYSEiPPS+YWXBhOGo+Y1YecLgknF3g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a5c6b8f22c206aaa22fc9a826f858a262a023cd5

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 14 ++++++++++++++
src/interfaces/libpq/fe-trace.c | 20 ++++++++++++++++++++
src/interfaces/libpq/libpq-int.h | 2 ++
3 files changed, 36 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2024-08-14 19:26:13 pgsql: Add a couple of recent commits to .git-blame-ignore-revs.
Previous Message Peter Eisentraut 2024-08-14 09:49:50 pgsql: Apply PGDLLIMPORT markings to some GUC variables