pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: Robbie Harwood <rharwood@redhat.com>
Cc: Pg Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: weird libpq GSSAPI comment
Date: Mon, 6 Jan 2020 18:38:17 -0300
Message-ID: <20200106213817.GA29411@alvherre.pgsql> (raw)
In-Reply-To: <20200106210322.GJ3195@tamriel.snowman.net>

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





view thread (11+ messages)  latest in thread

Message-ID: <20200106213817.GA29411@alvherre.pgsql>
Permalink:  ../20200106213817.GA29411@alvherre.pgsql/
Also on:    postgresql.org/message-id/20200106213817.GA29411@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@2ndquadrant.com, sfrost@snowman.net, rharwood@redhat.com
  Subject: Re: weird libpq GSSAPI comment
  In-Reply-To: <20200106213817.GA29411@alvherre.pgsql>
  References: <20200106210322.GJ3195@tamriel.snowman.net> <20200106213817.GA29411@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox