Re: [PoC] Federated Authn/z with OAUTHBEARER

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PoC] Federated Authn/z with OAUTHBEARER
Дата
Msg-id 06102deb-00ef-431d-a3ea-65afb246700a@eisentraut.org
обсуждение исходный текст
Ответ на Re: [PoC] Federated Authn/z with OAUTHBEARER  (Jacob Champion <jacob.champion@enterprisedb.com>)
Список pgsql-hackers
On 09.01.25 20:18, Jacob Champion wrote:
> It'd be sad to copy-paste the API bug into a new place, though. If
> we're going to disconnect this API from SOCKET, can we use uintptr_t
> instead on Windows? If someone eventually adds an alternative to
> PQsocket(), as Tom suggested in [2], it'd be nice not to have to
> duplicate this callback too.

Assuming that uintptr_t is the right underlying type for SOCKET, that 
seems ok.

But also note that

#ifdef WIN32

might not work because WIN32 is defined by the PostgreSQL build system, 
not by the compiler (see src/include/port/win32.h).




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