Re: pg_dumpall

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Donald Fraser" <demolish(at)cwgsy(dot)net>
Cc: "[ADMIN]" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_dumpall
Date: 2003-02-19 19:20:19
Message-ID: 13508.1045682419@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Donald Fraser" <demolish(at)cwgsy(dot)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

In response to

  • pg_dumpall at 2003-02-19 19:16:21 from Donald Fraser

Browse pgsql-admin by date

  From Date Subject
Next Message Stephan Szabo 2003-02-19 19:29:40 Re: pg_dumpall
Previous Message radha.manohar 2003-02-19 19:19:25 Re: Concurrency control in postgresql