BUG #16897: gssenc request slow connection

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: rich(dot)crampton(at)gmail(dot)com
Subject: BUG #16897: gssenc request slow connection
Date: 2021-02-25 10:46:56
Message-ID: 16897-2632c6541c9f8491@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16897
Logged by: Richard Crampton
Email address: rich(dot)crampton(at)gmail(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ijas MP 2021-02-25 14:09:27 postgres binares on arm device
Previous Message Magnus Hagander 2021-02-25 08:23:28 Re: BUG #16896: pg_standby: Missing reference when building on Windows