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

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема question about /etc/init.d/postgresql in PGDG
Дата
Msg-id dcc563d10908182301i56f03b26v7d6270b2ed1f65d2@mail.gmail.com
обсуждение исходный текст
Ответы Re: question about /etc/init.d/postgresql in PGDG
Re: question about /etc/init.d/postgresql in PGDG
Список 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 по дате отправления:

Предыдущее
От: "Brendan Hill"
Дата:
Сообщение: Re: Idle processes chewing up CPU?
Следующее
От: Dilyan Berkovski
Дата:
Сообщение: pl/pgsql loop thru columns names