Skip site navigation (1) Skip section navigation (2)

Bogus cleanup code in GSSAPI/SSPI patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Bogus cleanup code in GSSAPI/SSPI patch
Date: 2008-01-29 02:11:31
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Hi Magnus,
  Would you take a look at the patch I just committed in fe-connect.c?

I found out today that PQreset() wasn't working on a GSSAPI connection,
because closePGconn hadn't been patched to clear out the GSSAPI state
(resulting in "duplicate GSS authentication request" failure).  I think
I fixed that but it wouldn't be bad for someone who knows that code
better to double-check.  Also, I can't test the ENABLE_SSPI case,
so that needs to be looked at.

The test case I've been using is to "select 1;" in psql, then kill -9
the backend from another window, then "select 1;" again.  psql should
recover and reconnect successfully.

			regards, tom lane


pgsql-hackers by date

Next:From: Hitoshi HaradaDate: 2008-01-29 02:39:23
Subject: Re: RFC: array_agg() per SQL:200n
Previous:From: Joe ConwayDate: 2008-01-29 01:59:45
Subject: Re: RFC: array_agg() per SQL:200n

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group