Search Postgresql Archives

Re: template1 problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Lane recently pointed one excellent article dealing with this problem...
http://techdocs.postgresql.org/techdocs/pgsqladventuresep1.php

Regards,
Patrick

----------------------------------------------------------------------------
--------------- 
Patrick Fiche 
email : patrick.fiche@xxxxxxxxxxx 
tél : 01 69 29 36 18 
----------------------------------------------------------------------------
--------------- 




-----Original Message-----
From: pgsql-general-owner@xxxxxxxxxxxxxx
[mailto:pgsql-general-owner@xxxxxxxxxxxxxx]On Behalf Of Sim Zacks
Sent: mercredi 6 juillet 2005 16:06
To: pgsql-general@xxxxxxxxxxxxxx
Subject:  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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux