Template1 oops - Mailing list pgsql-general

From Alban Hertroys
Subject Template1 oops
Date
Msg-id 4507C7C9.4030101@magproductions.nl
Whole thread Raw
Responses Re: Template1 oops  (Michael Fuhr <mike@fuhr.org>)
List pgsql-general
I found an oops in one of our template1 databases; tables and stuff were
apparently loaded into the wrong database (namely template1). I found
this page describing a solution:
http://techdocs.postgresql.org/techdocs/pgsqladventuresep1.php

But, this looks kind of risky to me. I'd prefer not to put our running
databases at risk.

As an alternative approach, wouldn't dropping and recreating the public
schema be a nice alternative? And in that case, what would be the right
CREATE SCHEMA public command? I don't feel like messing this up ;)

Regards,
--
Alban Hertroys
alban@magproductions.nl

magproductions b.v.

T: ++31(0)534346874
F: ++31(0)534346876
M:
I: www.magproductions.nl
A: Postbus 416
    7500 AK Enschede

// Integrate Your World //

pgsql-general by date:

Previous
From: Stijn Vanroye
Date:
Subject: Re: select unique items in db
Next
From: Chris Mair
Date:
Subject: Re: berkley sockets