Re: restored over postgres database
От
Scott Marlowe
Тема
Re: restored over postgres database
Дата
Msg-id
dcc563d10812030849l2f9576beu13140730e5d8f31d@mail.gmail.com
Ответ на
restored over postgres database (Kevin Duffy)
Список
Дерево обсуждения
restored over postgres database "Kevin Duffy" <KD@wrinvestments.com>
Re: restored over postgres database "Scott Marlowe" <scott.marlowe@gmail.com>
Re: restored over postgres database Bill Moran <wmoran@collaborativefusion.com>
On Wed, Dec 3, 2008 at 9:38 AM, Kevin Duffy wrote: > Hello: > > > > On a newly installed PostgreSQL server I made the mistake of restoring over > the postgres database. > > Which I made me feel very silly and brought up a couple of questions. > > > > a) What is the postgres database used for? By default, nothing usually. Whatever you're using it for is usually it. > b) How can I restore the postgres database to a pristine state? shut down postgres delete everything in the $PGDATA directory (or whatever comes after -D when it starts up) run initdb start postgres All should now be clean and fresh.
В списке pgsql-general по дате отправления