Re: pgsql: With gssencmode='require', check credential cache before connect

2024-04-09 Thread Kyotaro Horiguchi
At Tue, 9 Apr 2024 08:14:53 +0300, Heikki Linnakangas wrote in > On 09/04/2024 04:46, Kyotaro Horiguchi wrote: > > Hello. > > At Sun, 07 Apr 2024 23:50:08 +, Heikki Linnakangas > > wrote in > >> With gssencmode='require', check credential cache before connecting > > This commit adds the fol

Re: pgsql: With gssencmode='require', check credential cache before connect

2024-04-08 Thread Heikki Linnakangas
On 09/04/2024 04:46, Kyotaro Horiguchi wrote: Hello. At Sun, 07 Apr 2024 23:50:08 +, Heikki Linnakangas wrote in With gssencmode='require', check credential cache before connecting This commit adds the following error message (indentations are adjusted): + libpq_append_conn_error

Re: pgsql: With gssencmode='require', check credential cache before connect

2024-04-08 Thread Kyotaro Horiguchi
Hello. At Sun, 07 Apr 2024 23:50:08 +, Heikki Linnakangas wrote in > With gssencmode='require', check credential cache before connecting This commit adds the following error message (indentations are adjusted): + libpq_append_conn_error(conn, + "GSSAPI encryption requi

pgsql: With gssencmode='require', check credential cache before connect

2024-04-07 Thread Heikki Linnakangas
With gssencmode='require', check credential cache before connecting Previously, libpq would establish the TCP connection, and then immediately disconnect if the credentials were not available. The same thing happened if you tried to use a Unix domain socket with gssencmode=require. Check those co