pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robbie Harwood <rharwood@redhat.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Pg Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: weird libpq GSSAPI comment
Date: Mon, 06 Jan 2020 16:21:30 -0500
Message-ID: <jlg5zhoqo11.fsf@redhat.com> (raw)
In-Reply-To: <20200106210322.GJ3195@tamriel.snowman.net>
References: <20191227202332.GA20278@alvherre.pgsql>
	<jlgsgkwqpgq.fsf@redhat.com>
	<20200106210322.GJ3195@tamriel.snowman.net>

Stephen Frost <sfrost@snowman.net> writes:

>> Alvaro Herrera <alvherre@2ndquadrant.com> writes:
>
> 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).

This looks correct to me (and uses plenty of parentheticals, so it feels
in keeping with something I'd write) :)

Thanks,
--Robbie

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (11+ messages)  latest in thread

Message-ID: <jlg5zhoqo11.fsf@redhat.com>
Permalink:  ../jlg5zhoqo11.fsf@redhat.com/
Also on:    postgresql.org/message-id/jlg5zhoqo11.fsf@redhat.com

 · 

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: rharwood@redhat.com, sfrost@snowman.net, alvherre@2ndquadrant.com
  Subject: Re: weird libpq GSSAPI comment
  In-Reply-To: <jlg5zhoqo11.fsf@redhat.com>
  References: <20191227202332.GA20278@alvherre.pgsql> <jlgsgkwqpgq.fsf@redhat.com> <20200106210322.GJ3195@tamriel.snowman.net> <jlg5zhoqo11.fsf@redhat.com>

* 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