From: Shilpa Sudhakar <ssudhakar@internode.com.au>
To: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-admin@postgresql.org
Subject: Re: pg_ctl reload query
Date: Fri, 22 Feb 2008 09:41:50 +1030
Message-ID: <47BE0536.3080605@internode.com.au> (raw)
In-Reply-To: <20080221170244.GL17293@crankycanuck.ca>
References: <47BD0C94.7010208@internode.com.au>
<20080221170244.GL17293@crankycanuck.ca>
Thanks for the reply.
I am sure i didn't issue the restart command. i only did the reload.
I'll find out from my other team mates if they issued any restart
command by mistake.
Thanks again.
Regards,
Shilpa
Andrew Sullivan wrote:
> On Thu, Feb 21, 2008 at 04:01:00PM +1030, Shilpa Sudhakar wrote:
>
>> Hi All,
>>
>> Wanted to know what does pg_ctl do in the background when we run *pg_ctl
>> -D datadir reload *
>>
>
> It sends a SIGHUP to the back end.
>
>
>> command. Generally, it just reloads the files and everything works fine.
>> But strangely, last time when we ran the reload command and tried to
>> access *psql dbname, *
>> It gives a message *"database shutting down" *
>>
>
> Are you sure you didn't issue "restart" instead? It's an easy enough
> mistake to make.
>
> A
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: ssudhakar@internode.com.au, ajs@crankycanuck.ca
Subject: Re: pg_ctl reload query
In-Reply-To: <47BE0536.3080605@internode.com.au>
* 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