From: | Patrick(dot)FICHE(at)AQSACOM(dot)COM |
---|---|
To: | sim(at)compulab(dot)co(dot)il, pgsql-general(at)postgresql(dot)org |
Subject: | Re: template1 problems |
Date: | 2005-07-06 13:20:24 |
Message-ID: | 1DC6C8C88D09D51181A40002A5286929B233B2@intranet |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom Lane recently pointed one excellent article dealing with this problem...
http://techdocs.postgresql.org/techdocs/pgsqladventuresep1.php
Regards,
Patrick
----------------------------------------------------------------------------
---------------
Patrick Fiche
email : patrick(dot)fiche(at)aqsacom(dot)com
tél : 01 69 29 36 18
----------------------------------------------------------------------------
---------------
-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org]On Behalf Of Sim Zacks
Sent: mercredi 6 juillet 2005 16:06
To: pgsql-general(at)postgresql(dot)org
Subject: [GENERAL] template1 problems
Postgresql 8.0 Linux. using PGAdmin III 1.2 client
I accidentally did a restore of my database into template1. I thought the
best way to reverse it would be to drop the database and make a new one with
template0 as the template. But it didn't like that because template1 is a
system database so I can't drop it.
Is there a better way of fixing this then going through and deleting all the
objects one at a time?
Thanks
Sim
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2005-07-06 13:33:58 | Re: current_user inside SECURITY DEFINER function? |
Previous Message | Nikolay Samokhvalov | 2005-07-06 13:14:08 | suggestion for diagnostics (errors) |