Re: uh-oh, overwrote template1 - Mailing list pgsql-novice

From Paul Makepeace
Subject Re: uh-oh, overwrote template1
Date
Msg-id 20030416080151.GF7382@mythix.realprogrammers.com
Whole thread Raw
In response to uh-oh, overwrote template1  (Jean-Christian Imbeault <jc@mega-bucks.co.jp>)
List pgsql-novice
On Wed, Apr 16, 2003 at 04:48:19PM +0900, Jean-Christian Imbeault wrote:
> I accidentally overwrote the template1 db when restoring a backup of
> another DB. ($ psql template1 < backup.sql).

I noticed this on techdocs,

http://techdocs.postgresql.org/redir.php?link=/techdocs/pgsqladventuresep1.php

``Josh Berkus' Adventures in PostgreSQL

  Restoring a Corrupted Template1 using Template0

  Josh accidentally loads data into the template1 database schema, then
  shows you how to fix it.''

HTH, Paul

--
Paul Makepeace ....................................... http://paulm.com/

"What is love? The mind of the biggest head."
   -- http://paulm.com/toys/surrealism/


pgsql-novice by date:

Previous
From: Jean-Christian Imbeault
Date:
Subject: uh-oh, overwrote template1
Next
From: Jean-Christian Imbeault
Date:
Subject: Re: uh-oh, overwrote template1