From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject:
Date: 2003-01-16 08:13:36
Message-ID: GNELIHDDFBOCMGBFGEFOOEAOCFAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Hi,

In postgresql 7.3.1, if I do pg_dumpall -c, at the top of the dump file is
this:

DROP DATABASE au_shipping
;CREATE DATABASE au_shipping WITH OWNER = auadmin TEMPLATE = template0
ENCODING = 'SQL_ASCII';
DROP DATABASE au_test
;CREATE DATABASE au_test WITH OWNER = chriskl TEMPLATE = template0 ENCODING
= 'SQL_ASCII';
DROP DATABASE australia
;CREATE DATABASE australia WITH OWNER = auadmin TEMPLATE = template0
ENCODING = 'SQL_ASCII';
DROP DATABASE geeklog
;CREATE DATABASE geeklog WITH OWNER = chriskl TEMPLATE = template0 ENCODING
= 'SQL_ASCII';
DROP DATABASE keystone
;CREATE DATABASE keystone WITH OWNER = chriskl TEMPLATE = template0 ENCODING
= 'SQL_ASCII';

Why are all the CREATE DATABASE statements commented out? Surely that will
make the restore fail?

Chris

Responses

  • Re: at 2003-01-16 08:15:27 from Devrim GUNDUZ
  • Re: at 2003-01-16 15:53:07 from mlw

Browse pgsql-hackers by date

  From Date Subject
Next Message Devrim GUNDUZ 2003-01-16 08:15:27 Re:
Previous Message Christopher Kings-Lynne 2003-01-16 08:12:59 pg_dumpall

Browse pgsql-patches by date

  From Date Subject
Next Message Devrim GUNDUZ 2003-01-16 08:15:27 Re:
Previous Message Tom Lane 2003-01-16 04:56:50 Re: replace oidrand() with random_sample()