pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Thomas Poty <thomas.poty@gmail.com>
To: pgsql-general@postgresql.org >> PG-General Mailing List <pgsql-general@postgresql.org>
Subject: Re: Issue on public schéma with Pg_restore
Date: Wed, 25 Apr 2018 11:24:21 -0700
Message-ID: <53ffe598-eb73-0ed1-36db-057b7ca0572c@aklaver.com> (raw)
In-Reply-To: <CAN_ctnjgjCvAM+L4ZTg+sh6wGVMAzjZwR9m1_4vMVKSTB7n-FA@mail.gmail.com>
References: <CAN_ctnjgjCvAM+L4ZTg+sh6wGVMAzjZwR9m1_4vMVKSTB7n-FA@mail.gmail.com>

On 04/25/2018 11:07 AM, Thomas Poty wrote:
> Hello,
>   Here is the context :

Postgres version?

> I have a db db1 with a schéma public on cluster C1.
> This schéma doesn't have any privileges on public role.
> I have a dump of this db.

What was the dump command?

> On an other cluster C2, the template1 doesn't contain schema public.
> I have restored db1  on cluster C2 and i saw public role had the 
> privilege create on the schéma public.

What was the restore command?

> 
> I cannot explain this
> 
> Thank you.
> 
> Thomas?
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (7+ messages)  latest in thread

Message-ID: <53ffe598-eb73-0ed1-36db-057b7ca0572c@aklaver.com>
Permalink:  ../53ffe598-eb73-0ed1-36db-057b7ca0572c@aklaver.com/
Also on:    postgresql.org/message-id/53ffe598-eb73-0ed1-36db-057b7ca0572c@aklaver.com

 · 

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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, thomas.poty@gmail.com
  Subject: Re: Issue on public schéma with Pg_restore
  In-Reply-To: <53ffe598-eb73-0ed1-36db-057b7ca0572c@aklaver.com>
  References: <CAN_ctnjgjCvAM+L4ZTg+sh6wGVMAzjZwR9m1_4vMVKSTB7n-FA@mail.gmail.com> <53ffe598-eb73-0ed1-36db-057b7ca0572c@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