Re-Init database cluster.

Поиск
Список
Период
Сортировка
От Louie Kwan
Тема Re-Init database cluster.
Дата
Msg-id FB4FDC17A002D711BC0C009027DE84AF027F6C54@EXCHANGE.nuvo.com
обсуждение исходный текст
Ответы Re: Re-Init database cluster.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Re-Init database cluster.  ("scott.marlowe" <scott.marlowe@ihs.com>)
Список pgsql-admin
Hi All,

I did a pg_dumpall and psql the output and created a db. Basically, I would
like to clean up  everything including users and groups.

I tried to do initdb, but it didn't work.

My question is that can I just delete the directory where the database
cluster stored before.

I.e. rm -rf /var/lib/pgsql/data

Or I should do something else to re-init the database cluster.

Louie

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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: Row data corruption under 7.3.5
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re-Init database cluster.