pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Rudi Starcevic <rudi@oasis.net.au>
To: pgsql-sql@postgresql.org
Subject: Re: template1 - recreate
Date: Mon, 17 Jun 2002 11:47:03 -0700
Message-ID: <200206171147.03221.josh@agliodbs.com> (raw)
In-Reply-To: <3D0D7F16.9000408@oasis.net.au>
References: <3D0D7F16.9000408@oasis.net.au>


Rudi,

> I've been searching without joy so far so I thought I'd ask.
> I know I can re-create 'template1'.
> I need to do this as I've messed up the current template1 - Oops !
> 
> Fortunately Postgresql make's backups so easy no data is lost or corrupted.
> 
> What's the simple command to create 'template1' from 'template0' ?

There is no simple command.  Please see my article on Techdocs:
http://techdocs.postgresql.org/techdocs/pgsqladventuresep1.php

Good luck.


-- 
-Josh Berkus




view thread (2+ messages)

Message-ID: <200206171147.03221.josh@agliodbs.com>
Permalink:  ../200206171147.03221.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200206171147.03221.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: josh@agliodbs.com, rudi@oasis.net.au
  Subject: Re: template1 - recreate
  In-Reply-To: <200206171147.03221.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox