Re: Drop Cluster

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Drop Cluster
Дата
Msg-id 4A747E24.90203@hogranch.com
обсуждение исходный текст
Ответ на Drop Cluster  (sweta@opspl.com)
Список pgsql-general
sweta@opspl.com wrote:
>> I believe that command is specific to the debian/ubuntu distributions.
>>
>> in generic postgres, you'd simply stop the server, then delete the
>> contents of the $PGDATA directory
>>
>
> I cleared the PGDATA directory like this -->
>
> PGDATA=""
> export PGDATA
>

that just sets the environment variable to an empty string.

you need to stop your postgres server if its already running, then

    rm -rf /var/lib/pgsql/data/*

then you can do a new initdb.... assuming thats what you're trying to
do.  I have no idea what replconfig.cnf is.


В списке pgsql-general по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Reminder: pgday.eu 2009 Call for Papers
Следующее
От: Magnus Hagander
Дата:
Сообщение: [ANNOUNCE] Reminder: pgday.eu 2009 Call for Papers