pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: petrovanster@gmail.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form <noreply@postgresql.org>
Subject: Re: BUG #15161: libpq - Invalid SSPI context after PQreset
Date: Wed, 18 Apr 2018 10:59:10 +0900
Message-ID: <20180418015910.GF18178@paquier.xyz> (raw)
In-Reply-To: <148be035-0104-107d-c2bf-54bac530fde3@iki.fi>
References: <152397210636.19364.8981052993657577297@wrigleys.postgresql.org>
	<148be035-0104-107d-c2bf-54bac530fde3@iki.fi>

On Tue, Apr 17, 2018 at 11:43:50AM -0400, Heikki Linnakangas wrote:
> The issue you're describing sounds a lot like the one that was fixed
> here:
> https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=e6c33d594a004a2c831cdff1a16276347....

The commit applying to REL9_3_STABLE is f2fa0c6514 to be exact (does not
really matter both are the same).

> 9.3.5 is a really old version. The latest 9.3 minor release is 9.3.22. If
> what you're seeing is the same bug, it has been fixed in the latest minor
> version. Even if it turns out to be something different, you really need to
> upgrade.

Indeed.  This smells like the same bug to me.  The error is happening on
the backend, but the frontend failed to delete properly the security
context so my bet is that doing successive connection attempts and
deletes with this version messes up with what's stored in libpq, which
induces the backend into error.
--
Michael

Attachments:

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

view thread (3+ messages)

Message-ID: <20180418015910.GF18178@paquier.xyz>
Permalink:  ../20180418015910.GF18178@paquier.xyz/
Also on:    postgresql.org/message-id/20180418015910.GF18178@paquier.xyz

 · 

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-bugs@postgresql.org
  Cc: michael@paquier.xyz, hlinnaka@iki.fi, noreply@postgresql.org
  Subject: Re: BUG #15161: libpq - Invalid SSPI context after PQreset
  In-Reply-To: <20180418015910.GF18178@paquier.xyz>
  References: <152397210636.19364.8981052993657577297@wrigleys.postgresql.org> <148be035-0104-107d-c2bf-54bac530fde3@iki.fi> <20180418015910.GF18178@paquier.xyz>

* 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