From: Aaron Bono <postgresql@aranya.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Sriram Dandapani <sdandapani@counterpane.com>
Cc: Joshua D. Drake <jd@commandprompt.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_hba changes not honored
Date: Sun, 27 Aug 2006 13:58:25 -0500
Message-ID: <bf05e51c0608271158l23efeb4br363eb4d1c3effab8@mail.gmail.com> (raw)
In-Reply-To: <25784.1156376342@sss.pgh.pa.us>
References: <6992E470F12A444BB787B5C937B9D4DF0574FF4B@ca-mail1.cis.local>
<25784.1156376342@sss.pgh.pa.us>
On 8/23/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> "Sriram Dandapani" <sdandapani@counterpane.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 files"
>
> Well, I just re-tested it here, and it works fine for me (using 8.1.4,
> but I don't see anything in the CVS logs indicating changes in the
> relevant code since 8.1.2). So I still think there's some sort of
> pilot error involved here, but I'm running out of ideas about what.
> You might want to try the strace experiment I suggested to confirm
> 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.
http://www.aranya.comhttp://codeelixir.com
==================================================================
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-admin@postgresql.org
Cc: postgresql@aranya.com, tgl@sss.pgh.pa.us, sdandapani@counterpane.com, jd@commandprompt.com
Subject: Re: pg_hba changes not honored
In-Reply-To: <bf05e51c0608271158l23efeb4br363eb4d1c3effab8@mail.gmail.com>
References: <6992E470F12A444BB787B5C937B9D4DF0574FF4B@ca-mail1.cis.local> <25784.1156376342@sss.pgh.pa.us> <bf05e51c0608271158l23efeb4br363eb4d1c3effab8@mail.gmail.com>
* 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