Re: pgsql: Add hooks for session start and session end, take two - Mailing list pgsql-committers

From Michael Paquier
Subject Re: pgsql: Add hooks for session start and session end, take two
Date
Msg-id 20191001235306.GA3130@paquier.xyz
Whole thread Raw
In response to Re: pgsql: Add hooks for session start and session end, take two  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
List pgsql-committers
On Tue, Oct 01, 2019 at 03:24:21PM -0400, Andrew Dunstan wrote:
> I'll fix up the logging. Meanwhile, the log is showing:
>
> \c :prevdb regress_sess_hook_usr1
> \connect: FATAL:  SSPI authentication failed for user
> "regress_sess_hook_usr1"
>
> That's not surprising given the hba and ident file contents.

Thanks for the details of the logs!  That makes sense, and we actually
do not have other modules with NO_INSTALLCHECK which use \c to
reconnect in a test.  The attached patch should be able to fix the
issue.  Could you confirm?
--
Michael

Attachment

pgsql-committers by date:

Previous
From: noreply@postgresql.org
Date:
Subject: pgsql: Tag refs/tags/REL_12_0 was created
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Add hooks for session start and session end, take two