Re: pg_dump - Mailing list pgsql-hackers

From Noah Misch
Subject Re: pg_dump
Date
Msg-id 20151029025137.GA771227@tornado.leadboat.com
Whole thread Raw
In response to pg_dump  (Dmitry Voronin <carriingfate92@yandex.ru>)
Responses Re: pg_dump  (Дмитрий Воронин <carriingfate92@yandex.ru>)
List pgsql-hackers
On Wed, Oct 28, 2015 at 10:44:37AM +0300, Dmitry Voronin wrote:
> I have a database testdb with commet 'test comment' and security label 'classified'. I create dump by pg_dump:
> 
> pg_dump -h 127.0.0.1 -d testdb -U postgres --format c dump
> 
> So, I want to restore a dump with comment and security label to testdb_restore. I run:
> 
> pg_restore -h 127.0.0.1 -d testdb_restore dump
> 
> So, we have, that SECURITY LABEL and COMMENT will be applied to database testdb but not testdb_restore. I think, that
it'snot good.
 

It's a problem.  See this recent discussion:
http://www.postgresql.org/message-id/flat/20150710115735.GH26521@alap3.anarazel.de



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Personal note: changing employers
Next
From: David Rowley
Date:
Subject: Small improvement to tlist_matches_tupdesc()