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

Re: pg_hba changes not honored

From: "Sriram Dandapani" <sdandapani(at)counterpane(dot)com>
To: "Aaron Bono" <postgresql(at)aranya(dot)com>,"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>,<pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_hba changes not honored
Date: 2006-08-27 19:38:02
Message-ID: 6992E470F12A444BB787B5C937B9D4DF05750283@ca-mail1.cis.local (view raw or whole thread)
Lists: pgsql-admin
I suspect the same behavior. Existing jdbc connections are not
disconnected..only new ones



From: aaron(dot)bono(at)gmail(dot)com [mailto:aaron(dot)bono(at)gmail(dot)com] On Behalf Of
Aaron Bono
Sent: Sunday, August 27, 2006 11:58 AM
To: Tom Lane
Cc: Sriram Dandapani; Joshua D. Drake; pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] pg_hba changes not honored


On 8/23/06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

	"Sriram Dandapani" <sdandapani(at)counterpane(dot)com> writes:
	> Pg_ctl is pointing to the same directory that postmaster
points to on
	> startup. There is only 1 data directory/postgres installation
that I 
	> use.
	> Pg_ctl informs that postmaster is signaled. When I see the
logs for
	> postmaster, it says "received SIGHUP, reloading configuration
	Well, I just re-tested it here, and it works fine for me (using
	but I don't see anything in the CVS logs indicating changes in
	relevant code since 8.1.2).  So I still think there's some sort
	pilot error involved here, but I'm running out of ideas about
	You might want to try the strace experiment I suggested to
	that the postmaster is reading the file you think it is.


Could it be that the JDBC client creates a connection and keeps that
connection open (common with connection poolilng)?  If you SIGHUP the
postmaster, will it disconnect already connected clients or does it only
reject new connections? 

I say this since you said doing a restart fixes the problem.

   Aaron Bono
   Aranya Software Technologies, Inc.

pgsql-admin by date

Next:From: Enrique ArizónDate: 2006-08-27 21:07:51
Subject: Advice request: Postgresql setup for flash memories.
Previous:From: Aaron BonoDate: 2006-08-27 18:58:25
Subject: Re: pg_hba changes not honored

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