pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: not-available@somewhere.com
To: pgsql-bugs@postgresql.org
Subject: BUG #12269: small incosistency in pg_dump and pg_dumpall dumps
Date: Thu, 18 Dec 2014 08:52:26 +0000
Message-ID: <20141218085226.1237.59424@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      12269
Logged by:          anonym
Email address:      not-available@somewhere.com
PostgreSQL version: 9.3.5
Operating system:   Fedora
Description:        

when dumping database with "pg_dump -Cs" and "pg_dumpall -s" I get

"CREATE DATABASE ... WITH TEMPLATE = ... ENCODING = ... LC_COLLATE = ...
LC_CTYPE = ...;"

and 

"CREATE DATABASE ... WITH TEMPLATE = ... OWNER = ....;"

respectively. I would prefer to get ENCODING, LC_COLLATE... and other
attributes both times as it can be important on systems with different
database and system encoding settings.

Also, I think permissions (and comments etc.) on database level should be
dumped with "pg_dump -C" or there should be an option allowing to dump this
information.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



Message-ID: <20141218085226.1237.59424@wrigleys.postgresql.org>
Permalink:  ../20141218085226.1237.59424@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20141218085226.1237.59424@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: not-available@somewhere.com
  Subject: Re: BUG #12269: small incosistency in pg_dump and pg_dumpall dumps
  In-Reply-To: <20141218085226.1237.59424@wrigleys.postgresql.org>
  References: <20141218085226.1237.59424@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox