Re: Function Hangs - Mailing list pgsql-novice

From Stephen Ingram
Subject Re: Function Hangs
Date
Msg-id 20020213201618.ZXAH13094.femail46.sdc1.sfba.home.com@there
Whole thread Raw
In response to Re: Function Hangs  ("Patrick Hatcher" <PHatcher@macys.com>)
Responses Re: Function Hangs
List pgsql-novice
On Wednesday 13 February 2002 02:48 pm, Patrick Hatcher wrote:
> I found the Postmaster startup file.  Here is the start params:
>
> su -l postgres -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster -o "
> -i" start >/dev/null 2>&1"
>
> would the name of the log file go where the /dev/null is?
>

Hi,

Josh will answer anyway ( :) ), but this tripped me up too when I started.

I know the idea is for it to be configured for ones own site,
but it seems this is one of the first questions people who start
with PG ask.

It would be kind of nice if the startup scripts came as

POSTMASTER_LOG=${POSTMASTER_LOG:-"/tmp/postmaster.log"}
export POSTMASTER_LOG

su -l postgres -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster -o "-i"
    start >${POSTMASTER_LOG} 2>&1"

or some such.

Just waffling on...

Steve


> Thanks again for the help
>
> Patrick Hatcher
> Macys.Com
> Legacy Integration Developer
> 415-932-0610 office
>
>
>
>
>
>                     Patrick
>                     Hatcher              To:     "Josh Berkus"
> <josh@agliodbs.com>@FDS-NOTES cc:     pgsql-novice@postgresql.org
> 02/13/2002           Subject:     Re: [NOVICE] Function Hangs(Document
> link: Patrick Hatcher) 11:33 AM
>
>
>
>
>
> It was a Mandrake install, so it auto-starts during system start up.
>
> Patrick Hatcher
> Macys.Com
> Legacy Integration Developer
> 415-932-0610 office
>
>
>
>
>
>                     "Josh Berkus"
>                     <josh@agliodbs       To:     "Patrick Hatcher"
> <PHatcher@macys.com> .com>                cc:
> pgsql-novice@postgresql.org Subject:     Re: [NOVICE] Function Hangs
> 02/13/2002
>                     11:30 AM
>
>
>
>
>
>
> Patrick,
>
> > Thanks.  Stupid question:  Where would I find the database log?
>
> Wherever you put it in your startup options for Postmaster.  I usually
>  put mine in /var/log/postgresql.  How do you start postmaster?
>
> -Josh
>
> ______AGLIO DATABASE SOLUTIONS___________________________
>                                        Josh Berkus
>   Complete information technology      josh@agliodbs.com
>    and data management solutions       (415) 565-7293
>   for law firms, small businesses        fax 621-2533
>     and non-profit organizations.      San Francisco
>
>
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org

pgsql-novice by date:

Previous
From: Peter Muhlberger
Date:
Subject: Pooled Connections
Next
From: "Josh Berkus"
Date:
Subject: Re: Pooled Connections