From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: PG9.1 migration to PG9.6, dump/restore issues
Date: Wed, 12 Sep 2018 16:52:50 -0700
Message-ID: <ddef8f9b-7004-5eca-8e6d-02c32df01ca9@aklaver.com> (raw)
In-Reply-To: <17082AAFC33A934082836458CB53494374C9A55A@MONDB03.na.lzb.hq>
References: <17082AAFC33A934082836458CB53494374C993BD@MONDB03.na.lzb.hq>
<3002.1536763175@sss.pgh.pa.us>
<17082AAFC33A934082836458CB53494374C9A55A@MONDB03.na.lzb.hq>
On 9/12/18 11:28 AM, Scot Kreienkamp wrote:
>
>
>
> Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate
> One La-Z-Boy Drive| Monroe, Michigan 48162 | Office: 734-384-6403 | | Mobile: 7349151444 | Email: Scot.Kreienkamp@la-z-boy.com
>> -----Original Message-----
>> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
>> Sent: Wednesday, September 12, 2018 10:40 AM
>> To: Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>
>> Cc: pgsql-general@lists.postgresql.org
>> Subject: Re: PG9.1 migration to PG9.6, dump/restore issues
>>
>> Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com> writes:
>>> Restore completes successfully, but I noticed that the schema
>>> permissions are missing, possibly others as well (Is this a known
>>> issue?).
>>
>> If you're talking about custom modifications you made to the permissions
>> of the "public" schema in particular, then yeah, that won't be tracked
>> (IIRC, it will be with newer source server versions, but not 9.1).
>> Otherwise, no, that's not expected. Would you provide more detail?
>>
> Yes, it's permissions on the public schema. They were completely empty. I didn't check the other schemas as the very first thing I noticed was the permissions changed on the public schema, but I believe they were empty as well.
In the 9.1 instance, using psql, what does:
\dn+ public
show.
Repeat for other schemas.
--
Adrian Klaver
adrian.klaver@aklaver.com
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-general@postgresql.org
Cc: adrian.klaver@aklaver.com, Scot.Kreienkamp@la-z-boy.com, tgl@sss.pgh.pa.us
Subject: Re: PG9.1 migration to PG9.6, dump/restore issues
In-Reply-To: <ddef8f9b-7004-5eca-8e6d-02c32df01ca9@aklaver.com>
References: <17082AAFC33A934082836458CB53494374C993BD@MONDB03.na.lzb.hq> <3002.1536763175@sss.pgh.pa.us> <17082AAFC33A934082836458CB53494374C9A55A@MONDB03.na.lzb.hq> <ddef8f9b-7004-5eca-8e6d-02c32df01ca9@aklaver.com>
* 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