aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-04-29 12:26:46 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-04-29 12:26:46 +0300
commit3c184092651b0b15ca1207c154ab3fd055e1e9fe (patch)
treee153b3c8c9af32ab912e11c2539d61998724f5c3 /src/tutorial/funcs.c
parent592a2283721f7143999364ef487f2b4993f5161d (diff)
downloadpostgresql-3c184092651b0b15ca1207c154ab3fd055e1e9fe.tar.gz
postgresql-3c184092651b0b15ca1207c154ab3fd055e1e9fe.zip
libpq: If ALPN is not used, make PQsslAttribute(conn, "alpn") == ""
The documentation says that PQsslAttribute(conn, "alpn") returns an empty string if ALPN is not used, but the code actually returned NULL. Fix the code to match the documentation. Reported-by: Michael Paquier Discussion: https://www.postgresql.org/message-id/ZideNHji0G4gxmc3@paquier.xyz
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions