From: Tom Lane <tgl@sss.pgh.pa.us>
To: Donald Fraser <demolish@cwgsy.net>
Cc: [ADMIN] <pgsql-admin@postgresql.org>
Subject: Re: pg_dumpall
Date: Wed, 19 Feb 2003 14:20:19 -0500
Message-ID: <13508.1045682419@sss.pgh.pa.us> (raw)
In-Reply-To: <005401c2d84b$660fbf10$1664a8c0@DEMOLITION>
References: <005401c2d84b$660fbf10$1664a8c0@DEMOLITION>
"Donald Fraser" <demolish@cwgsy.net> writes:
> When I do a backup from the database using pg_dumpall (with no command line=
> options) it creates the following:
> CREATE DATABASE "CISX" WITH OWNER =3D postgres TEMPLATE =3D template0 ENCOD=
> ING =3D 'SQL_ASCII';
> I don't know whether this is a bug or not
It is not; the use of template0 is intentional. (Otherwise, whatever
local additions may exist in template1 would get duplicated.)
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, demolish@cwgsy.net
Subject: Re: pg_dumpall
In-Reply-To: <13508.1045682419@sss.pgh.pa.us>
References: <005401c2d84b$660fbf10$1664a8c0@DEMOLITION> <13508.1045682419@sss.pgh.pa.us>
* 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