Re: pg_dump bug fixing - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: pg_dump bug fixing
Date
Msg-id 40FC7FDE.7060107@familyhealth.com.au
Whole thread Raw
In response to Re: pg_dump bug fixing  (Josh Berkus <josh@agliodbs.com>)
Responses Re: pg_dump bug fixing  (Josh Berkus <josh@agliodbs.com>)
Re: pg_dump bug fixing  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
> Actually, KL, that would solve a lot of these duplicate object problems.  What 
> if pg_restore used Template0 and not Template1?    It wouldn't fix the "drop 
> public schema" issue but it would solve the others.

Not sure what you mean here, but CVS pg_dump dumps like this:

CREATE DATABASE phppgadmin WITH TEMPLATE = template0 OWNER = chriskl 
ENCODING = 'LATIN1';
CREATE DATABASE usa WITH TEMPLATE = template0 OWNER = usadmin ENCODING = 
'LATIN1';

Chris



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Point in Time Recovery
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Point in Time Recovery