Re: dropping template1 - Mailing list pgsql-general

From Dan Langille
Subject Re: dropping template1
Date
Msg-id 20030109065924.P52073-100000@m20.unixathome.org
Whole thread Raw
In response to Re: dropping template1  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
Responses Re: dropping template1
List pgsql-general
On Thu, 9 Jan 2003, Shridhar Daithankar wrote:

> On 9 Jan 2003 at 1:40, Thomas T. Thai wrote:
>
> > > On 9 Jan 2003 at 1:14, Thomas T. Thai wrote:
> > >
> > >> I'm using 7.3 and accidently created unnecessary functions and such in
> > >> template1. Originally it had nothing added beyond the initial install
> > >> (initdb). I would like to return it to the clean state.
> > >
> > > How about drop function?
> >
> > there are lots of functions and datatypes etc. is there an easier way?
>
> I meant just drop the functions you created.
>
> If you absolutely instist, shutdown postmaster, go to database dir, do a rm -rf
> there and doa initdb once again. Clean as slate..

My initial concerns about the above advice where related to users and
groups and the potential for loss of that data.  After reading
http://www.us.postgresql.org/users-lounge/docs/7.2/postgres/managing-databases.html
I'm not as worried, but it got me wondering...  Where are the user and
group data held?


pgsql-general by date:

Previous
From: Manfred Koizar
Date:
Subject: Re: How can I do this?
Next
From: "Shridhar Daithankar"
Date:
Subject: Re: dropping template1