Re: security labels on databases are bad for dump & restore

From: Adam Brightwell <adam(dot)brightwell(at)crunchydatasolutions(dot)com>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Kohei KaiGai <kaigai(at)kaigai(dot)gr(dot)jp>, Fabrízio Mello <fabriziomello(at)gmail(dot)com>
Subject: Re: security labels on databases are bad for dump & restore
Date: 2015-07-23 16:08:18
Message-ID: CAKRt6CRweKZPs5J3mPrNvqy36AG5RpCHNhE4cdWX1rfBECTQ9Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> While I'd favor optional --no-create if we were designing fresh, it's not
> worth breaking user scripts by changing that now.

Agreed. So, --create would not be enabled by default.

>> How would this handle related global objects? It seems like this part
>> could get a little tricky.
>
> Like roles and tablespaces? No need to change their treatment.

Yes, those. Ok.

-Adam

--
Adam Brightwell - adam(dot)brightwell(at)crunchydatasolutions(dot)com
Database Engineer - www.crunchydatasolutions.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-07-23 16:14:14 Re: security labels on databases are bad for dump & restore
Previous Message Alvaro Herrera 2015-07-23 15:53:41 Re: What is HeapScanDescData.rs_initblock good for?