Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group