Re: Issue on public schéma with Pg_restore

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Thomas Poty <thomas(dot)poty(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Issue on public schéma with Pg_restore
Date: 2018-04-25 18:24:21
Message-ID: 53ffe598-eb73-0ed1-36db-057b7ca0572c@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vincent Veyron 2018-04-25 19:32:00 Re: Same condition in the CTE and in the subsequent JOIN using it
Previous Message Thomas Poty 2018-04-25 18:07:30 Issue on public schéma with Pg_restore