Re: Changing gssencmode default in Psycopg
От | Daniele Varrazzo |
---|---|
Тема | Re: Changing gssencmode default in Psycopg |
Дата | |
Msg-id | CA+mi_8ZWoF1U8VuWn8OXY_aCVLHgKhf0wTaF5sboyK4q_YQKAw@mail.gmail.com обсуждение исходный текст |
Ответ на | Changing gssencmode default in Psycopg (Daniele Varrazzo <daniele.varrazzo@gmail.com>) |
Список | pgsql-hackers |
On Sat, 23 Aug 2025 at 13:26, Daniele Varrazzo <daniele.varrazzo@gmail.com> wrote: > I am considering changing the > parameter default to `disable` [2] in the libpq that we ship in the > macOS binary packages. I also see that in libpq 16 the function `PQconnectionUsedGSSAPI()` was introduced [1]. This would enable us to detect if a connection is established on GSS but no parameter was explicitly set in the env var or connection string. So, a responsible thing we could do would be to start, in the next bugfix release, to raise a warning if we detect such combination, and warn the user about the upcoming change, suggesting them to explicitly set the connection string parameter or the env var to "prefer" or "require", [1] https://www.postgresql.org/docs/16/libpq-status.html#LIBPQ-PQCONNECTIONUSEDGSSAPI -- Daniele
В списке pgsql-hackers по дате отправления: