Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fBP5h-0007km-50 for pgsql-general@arkaria.postgresql.org; Wed, 25 Apr 2018 18:24:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fBP5f-0000YR-U3 for pgsql-general@arkaria.postgresql.org; Wed, 25 Apr 2018 18:24:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fBP5e-0000YH-KH for pgsql-general@lists.postgresql.org; Wed, 25 Apr 2018 18:24:27 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fBP5b-0001oq-Sx for pgsql-general@postgresql.org; Wed, 25 Apr 2018 18:24:25 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2788420CBA; Wed, 25 Apr 2018 14:24:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 25 Apr 2018 14:24:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=pK76mgfS9khSxbXHx3Rz57UilZ9os NzIBgDFAExlu+c=; b=kQOB25EajZNBxuTnnQcBdI93mWyLuMdTaxOxMulTFvaZ6 3UmMjj1BPkEaMwNQw/Nxq5m2iTz70r8MY28yzd2hrxNPMLzfgiq1bhGWYbeC4LnQ TRgcj3t/OC1NgMWbxNyqki8fv6BdcUBuIgVyxcxE2KkvKFHqimmjt7GW81BKsk+F uDc7X2V+dMJvAVJ6p2FmUhAu6Mm1tNjeNfraEsN/4m2WMnoakpfPCy+yeaay7a3M M9E4t3G189cWeyUCrUYMa/WJdS1haoKhmL2Fz0sbIQD+VP6riFLYQeMdw1I4P+Ry XMHSxJIFfaDgEKwXBm7+21qq3RgQYaFM/cyYliHIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=pK76mg fS9khSxbXHx3Rz57UilZ9osNzIBgDFAExlu+c=; b=aYoJDR15BsPiHnKv+UtzOC BA361QnIqMzf5IBsQ7NO9Go3b+biLuSZnW80yFmfiaR/Dup9BizOfZpIK4GuyGts CdPIoRWMcjFRDPT2tyuly/DDK4jaGd98bA5mOPVVbEHI2nHFDlvQrXNqsNTDJSwe 6+xhuZEFSVB8PYdjX/aJxRr7BLBuLpjcNojbAjL+13nLY0Rv8sqMa2sQuJjjAPfo wc3qo5GoejZq/h4ESi8R7sS1XYcOYm3vpJA4WMp88z5A4EJd6uI/lsiuq327MEoG LJNFkV91MgJ3WJCvid4UqS3R4xwWQlNHMeAdBak+bXXoSl9OjwBgyL1J2tMLN56w == X-ME-Sender: Received: from ranger.suse (50-197-80-2-static.hfc.comcastbusiness.net [50.197.80.2]) by mail.messagingengine.com (Postfix) with ESMTPA id 9A10F10256; Wed, 25 Apr 2018 14:24:22 -0400 (EDT) Subject: =?UTF-8?Q?Re:_Issue_on_public_sch=c3=a9ma_with_Pg=5frestore?= To: Thomas Poty , "pgsql-general@postgresql.org >> PG-General Mailing List" References: From: Adrian Klaver Message-ID: <53ffe598-eb73-0ed1-36db-057b7ca0572c@aklaver.com> Date: Wed, 25 Apr 2018 11:24:21 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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