Re: weird libpq GSSAPI comment - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: weird libpq GSSAPI comment
Date
Msg-id 20200106213817.GA29411@alvherre.pgsql
Whole thread Raw
In response to Re: weird libpq GSSAPI comment  (Stephen Frost <sfrost@snowman.net>)
Responses Re: weird libpq GSSAPI comment
List pgsql-hackers
On 2020-Jan-06, Stephen Frost wrote:

> > I wonder if part of the confusion might be due to the synonyms we're
> > using here for "in use".  Things seem to be "got running", "set up",
> > "operating", "negotiated", ... - maybe that's part of the barrier to
> > understanding?
> 
> How about something like this?
> 
>  * If GSSAPI Encryption is enabled, then call pg_GSS_have_cred_cache()
>  * which will return true if we can acquire credentials (and give us a
>  * handle to use in conn->gcred), and then send a packet to the server
>  * asking for GSSAPI Encryption (and skip past SSL negotiation and
>  * regular startup below).

WFM.  (I'm not sure why you uppercase Encryption, though.)

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: TRUNCATE on foreign tables
Next
From: Alvaro Herrera
Date:
Subject: Re: weird libpq GSSAPI comment