Re: [oauth] Stabilize the libpq-oauth ABI (and allow alternative implementations?) - Mailing list pgsql-hackers

From Zsolt Parragi
Subject Re: [oauth] Stabilize the libpq-oauth ABI (and allow alternative implementations?)
Date
Msg-id CAN4CZFPO9uREfJX3ne_TZU6901u8pvaToOHm17fUn52pWsC93w@mail.gmail.com
Whole thread Raw
In response to Re: [oauth] Stabilize the libpq-oauth ABI (and allow alternative implementations?)  (Chao Li <li.evan.chao@gmail.com>)
Responses Re: [oauth] Stabilize the libpq-oauth ABI (and allow alternative implementations?)
List pgsql-hackers
+/*
+ * Wrapper around PGoauthBearerRequest.async() which applies poison during the
+ * callback when necessary.
+ */
+static int
+do_async(fe_oauth_state *state, PGoauthBearerRequestV2 *request)
+{
+ PGconn    *conn = state->conn;
+ int ret;


Shouldn't this return PostgresPollingStatusType, and declare ret using it?



pgsql-hackers by date:

Previous
From: Zsolt Parragi
Date:
Subject: Re: Serverside SNI support in libpq
Next
From: Junwang Zhao
Date:
Subject: Re: SQL Property Graph Queries (SQL/PGQ)