Re: question about /etc/init.d/postgresql in PGDG - Mailing list pgsql-general

From Devrim GÜNDÜZ
Subject Re: question about /etc/init.d/postgresql in PGDG
Date
Msg-id 1250666049.3773.0.camel@hp-laptop2.gunduz.org
Whole thread Raw
In response to question about /etc/init.d/postgresql in PGDG  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-general
On Wed, 2009-08-19 at 00:01 -0600, Scott Marlowe wrote:
> In the init script from the PGDG rpms there's this block of code:
>
> PGDATA=/var/lib/pgsql/data
>
> if [ -f "$PGDATA/PG_VERSION" ] && [ -d "$PGDATA/base/template1" ]
> then
>         echo "Using old-style directory structure"
> else
>         PGDATA=/var/lib/pgsql/data
> fi
>
> Is it just me, or is the else extra noise?

I haven't bothered to remove it (call me lazy). I will remove it in the
upcoming sets. Thanks.

Regards,
--
Devrim GÜNDÜZ, RHCE
Command Prompt - http://www.CommandPrompt.com
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                   http://www.gunduz.org

Attachment

pgsql-general by date:

Previous
From: Stephen Cook
Date:
Subject: Temp table or normal table for performance?
Next
From: Craig Ringer
Date:
Subject: Re: Idle processes chewing up CPU?