oauth: Fix build on platforms without epoll/kqueue
Daniel Gustafsson <dgustafsson@postgresql.org>
oauth: Fix build on platforms without epoll/kqueue register_socket() missed a variable declaration if neither HAVE_SYS_EPOLL_H nor HAVE_SYS_EVENT_H was defined. While we're fixing that, adjust the tests to check pg_config.h for one of the multiplexer implementations, rather than assuming that Windows is the only platform without support. (Christoph reported this on hurd-amd64, an experimental Debian.) Author: Jacob Champion <jacob.champion@enterprisedb.com> Reported-by: Christoph Berg <myon@debian.org> Discussion: https://postgr.es/m/Z-sPFl27Y0ZC-VBl%40msg.df7cb.de
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-auth-oauth-curl.c | modified | +2 −2 |
| src/test/modules/oauth_validator/t/001_server.pl | modified | +4 −2 |
Discussion
- pgsql: Add support for OAUTHBEARER SASL mechanism 9 messages · 2025-02-20 → 2025-04-01