Re: cleaning up template1 - Mailing list pgsql-novice

From Bruce Momjian
Subject Re: cleaning up template1
Date
Msg-id 200411140411.iAE4Brn02714@candle.pha.pa.us
Whole thread Raw
In response to cleaning up template1  (Akbar <melinda_sayang@hotpop.com>)
List pgsql-novice
Akbar wrote:
> I remember when I first play with postgresql, I play with template1
> directly not created first the database ( then play with it ). So I just
> want to know is there any way to cleaning up the template1?

You can look for non-system objects stored in template1 and delete them,
or you can use pg_dump and it will show the changes made to template1 in
the dump.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-novice by date:

Previous
From: Akbar
Date:
Subject: how to remove super user in Windows XP
Next
From: Bruce Momjian
Date:
Subject: Re: cleaning up template1