Re: question about /etc/init.d/postgresql in PGDG

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: question about /etc/init.d/postgresql in PGDG
Date: 2009-08-19 07:14:09
Message-ID: 1250666049.3773.0.camel@hp-laptop2.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2009-08-19 07:47:43 Re: PQgetlength vs. octet_length()
Previous Message Albe Laurenz 2009-08-19 07:11:11 Re: PQgetlength vs. octet_length()