pgsql: libpq: If ALPN is not used, make PQsslAttribute(conn, "alpn") ==

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: libpq: If ALPN is not used, make PQsslAttribute(conn, "alpn") ==
Дата
Msg-id E1s1NHp-000bKr-BK@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3c184092651b0b15ca1207c154ab3fd055e1e9fe

Modified Files
--------------
src/bin/psql/command.c                   | 2 +-
src/interfaces/libpq/fe-secure-openssl.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Revert "Add GUC backtrace_on_internal_error"
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Make two-phase tests of ECPG and main suite more concurrent-proo