Title: RE: [GENERAL] cant connect to the database, even after doing start
this script is taken from the
distribution also
but i think the second check, to do stop -m
immidiate is home grown.
thanks,
regards
Surabhi
From: Scott Marlowe
[mailto:[EMAIL PROTECTED]Sent: Fri 7/14/2006 9
On Fri, 2006-07-14 at 02:48, surabhi.ahuja wrote:
> this is what is happening
>
> stop(){
> echo "Stopping ${NAME} service: "
> if [ "`uname`" = "Linux" ]; then
>/bin/sh -c "$PGCTL stop -D $PGDATA -s -m fast" > /dev/null
> 2>&1
> fi
> ret=$?
> i
Title: Re: [GENERAL] cant connect to the database, even after doing start
this is what is
happening
stop(){ echo
"Stopping ${NAME} service: " if [
"`uname`" = "Linux" ];
then /bin/sh -c
"$PGCTL stop -D $PGDATA -s -m
On Thu, 2006-07-13 at 01:20, surabhi.ahuja wrote:
> Hi all,
> i have a script to stop and start postmaster
>
> However i have noticed this many a time sdnow. I stop postmaster using
> that script
> and then start using a script.
>
> However if i try to do psql , it gives me an error saying that
Hi all,
i have a script to stop and start
postmaster
However i have noticed this many a time sdnow. I
stop postmaster using that script
and then start using a script.
However if i try to do psql , it
gives me an error saying that the postmaster is not up.
Why is it that the postmaster went