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

From Scott Marlowe
Subject question about /etc/init.d/postgresql in PGDG
Date
Msg-id dcc563d10908182301i56f03b26v7d6270b2ed1f65d2@mail.gmail.com
Whole thread Raw
Responses Re: question about /etc/init.d/postgresql in PGDG  (Devrim GÜNDÜZ <devrim@gunduz.org>)
Re: question about /etc/init.d/postgresql in PGDG  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
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?  Just wondering if there's
a reason a config variable is in two places at once.

pgsql-general by date:

Previous
From: "Brendan Hill"
Date:
Subject: Re: Idle processes chewing up CPU?
Next
From: Dilyan Berkovski
Date:
Subject: pl/pgsql loop thru columns names