Re: cleaning up template1

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Akbar <melinda_sayang(at)hotpop(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: cleaning up template1
Date: 2004-11-14 04:11:53
Message-ID: 200411140411.iAE4Brn02714@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Bruce Momjian 2004-11-14 04:12:41 Re: cleaning up template1
Previous Message Michel Albert 2004-11-13 01:28:03 Re: PHP - Tutorial