X-Original-To: pgsql-admin@postgresql.org Received: from gsy_sbs_1.cisx.com (unknown [213.133.202.58]) by postgresql.org (Postfix) with ESMTP id 5C14E47592C for ; Wed, 19 Feb 2003 14:12:20 -0500 (EST) Received: from DEMOLITION ([192.168.100.22]) by gsy_sbs_1.cisx.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id FHCZWBQQ; Wed, 19 Feb 2003 19:05:10 -0000 Message-ID: <005401c2d84b$660fbf10$1664a8c0@DEMOLITION> From: "Donald Fraser" To: "[ADMIN]" Subject: pg_dumpall Date: Wed, 19 Feb 2003 19:16:21 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0051_01C2D84B.62E29B00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200302/317 X-Sequence-Number: 7515 This is a multi-part message in MIME format. ------=_NextPart_000_0051_01C2D84B.62E29B00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable PostgreSQL 7.3.1 on i686-pc-linux-gnu, compiled by GCC 2.96 I issue the following command: CREATE DATABASE "CISX" WITH OWNER =3D postgres TEMPLATE =3D template1 ENCOD= ING =3D 'SQL_ASCII'; 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 as I can't find any hard document= ation to say otherwise? There seems to be some kind of indication that this is the case for pg_dump= but it's not clear. Can someone clarify this, am I missing something obvious here? If this is the case will there be a possible fix for this in the future? Regards Donald Fraser. ------=_NextPart_000_0051_01C2D84B.62E29B00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
PostgreSQL 7.3.1 on i686-pc-linux-gnu, com= piled by=20 GCC 2.96
 
I issue the following command:
CREATE DATABASE "CISX" WITH OWNER =3D postgres TEMPLATE =3D template1 = ENCODING=20 =3D 'SQL_ASCII';
 
When I do a backup from the database using pg_dumpall (with no command= line=20 options) it creates the following:
CREATE DATABASE "CISX" WITH OWNER =3D postgres TEMPLATE =3D template0 = ENCODING=20 =3D 'SQL_ASCII';
 
I don't know whether this is a bug or not as I can't find any hard=20 documentation to say otherwise?
There seems to be some kind of indication that this is the case for pg= _dump=20 but it's not clear.
Can someone clarify this, am I missing something obvious here?
If this is the case will there be a possible fix for this in the=20 future?
 
Regards Donald Fraser.
 
------=_NextPart_000_0051_01C2D84B.62E29B00--