pg_restore should restore the schema comments and the database properties

From: Daniel Migowski <dmigowski(at)ikoffice(dot)de>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: pg_restore should restore the schema comments and the database properties
Date: 2011-12-20 10:48:31
Message-ID: 41ED3F5450C90F4D8381BC4D8DF6BBDC60CCA095@EXCHANGESERVER.ikoffice.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I know this discussion has already been made, but for us it is a real problem that database properties are not restored with pg_restore. For me, the comment on a database, as well as the properties like pg_search_path are part of the data of the database. They are even contained in the dumps, so please add a function to pg_restore to let me restore this data also. It is really annoying not to be able to just use DROP DATABASE, CREATE DATABASE and pg_restore to get exactly the same thing you had before.

I would also like a function that does a CREATE DATABASE on restore automatically, but I don't want to wish for too much here.

Thank you very much in advance,
Daniel Migowski

IKOffice
UNTERNEHMENSSOFTWARE

IKOffice GmbH

Daniel Migowski

Mail:

dmigowski(at)ikoffice(dot)de<mailto:dmigowski(at)ikoffice(dot)de>

Nordstrasse 10

Tel.:

+49 (0)441 21 98 89 52

26135 Oldenburg

Fax.:

+49 (0)441 21 98 89 55

http://www.ikoffice.de<http://www.ikoffice.de/>

Mob.:

+49 (0)176 22 31 20 76

Geschäftsführer:

Ingo Kuhlmann, Daniel Migowski

Amtsgericht Oldenburg:

HRB 201467

Steuernummer:

64/211/01864

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2011-12-20 12:29:15 Re: using pg's internal timezone database?
Previous Message Florian Weimer 2011-12-20 10:21:32 Re: fsync on ext4 does not work