pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: rich.crampton@gmail.com
Subject: BUG #16897: gssenc request slow connection
Date: Thu, 25 Feb 2021 10:46:56 +0000
Message-ID: <16897-2632c6541c9f8491@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16897
Logged by:          Richard Crampton
Email address:      rich.crampton@gmail.com
PostgreSQL version: 12.6
Operating system:   client Windows 10, postgresql server Ubuntu
Description:        

When connecting over a local network from Windows 10 to PostgreSQL server
(Linux version 12.6 default install)  the gssencmode=prefer in libpq
connection causes a big slowdown.

With "gssencmode=prefer" connection takes 4 seconds.
With "gssencmode=disable" connection as fast as normal.

As the prefer option is the default option this causes problems in dependent
libraries such as psycopg2 for Python.  First raised the bug here
https://github.com/psycopg/psycopg2/issues/1242 but I think this must be a
libpq/Postgresql bug since psycopg2 is just passing along the request.



view thread (10+ messages)  latest in thread

Message-ID: <16897-2632c6541c9f8491@postgresql.org>
Permalink:  ../16897-2632c6541c9f8491@postgresql.org/
Also on:    postgresql.org/message-id/16897-2632c6541c9f8491@postgresql.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, rich.crampton@gmail.com
  Subject: Re: BUG #16897: gssenc request slow connection
  In-Reply-To: <16897-2632c6541c9f8491@postgresql.org>

* 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