X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id EC904475E22 for ; Wed, 19 Feb 2003 14:59:04 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 25037-04 for ; Wed, 19 Feb 2003 14:58:54 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id A757B475DC8 for ; Wed, 19 Feb 2003 14:20:21 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h1JJKK5u013509; Wed, 19 Feb 2003 14:20:20 -0500 (EST) To: "Donald Fraser" Cc: "[ADMIN]" Subject: Re: pg_dumpall In-reply-to: <005401c2d84b$660fbf10$1664a8c0@DEMOLITION> References: <005401c2d84b$660fbf10$1664a8c0@DEMOLITION> Comments: In-reply-to "Donald Fraser" message dated "Wed, 19 Feb 2003 19:16:21 +0000" Date: Wed, 19 Feb 2003 14:20:19 -0500 Message-ID: <13508.1045682419@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/320 X-Sequence-Number: 7518 "Donald Fraser" 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