Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1olGec-0003ee-Ez for pgsql-general@arkaria.postgresql.org; Wed, 19 Oct 2022 21:31:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1olGea-0000sj-Vz for pgsql-general@arkaria.postgresql.org; Wed, 19 Oct 2022 21:31:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1olGea-0000s8-KV for pgsql-general@lists.postgresql.org; Wed, 19 Oct 2022 21:31:08 +0000 Received: from mout.gmx.net ([212.227.15.15]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1olGeT-0001ju-FY for pgsql-general@lists.postgresql.org; Wed, 19 Oct 2022 21:31:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1666215059; bh=zbOeRqMwSHD1TZyxq0vUdG29WkGTHKh2Merg9XHslVc=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=PfPjBzC1xrl8iWM1AB9A7hOWcbbPptrtenRNdhBg+gez8b0YtVhQ8jCUNqX819fOQ qI3Zk4b5hP8xsY1HgJs/h88rrjK1R+panGglTfTVVHRMeGoa+iq2lH+MlL9fegI9eu qSObaL8uR0nFbVWAHPj4G/XrXLwGOgYzX463Ze9I= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.178.20] ([83.171.173.102]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MSKyI-1oeYZv0SjI-00Sgd1 for ; Wed, 19 Oct 2022 23:30:59 +0200 Subject: Re: Postgres 15 upgrades and template1 public schema To: pgsql-general@lists.postgresql.org References: <20221019203602.GA6563@wolff.to> From: Thomas Kellerer Message-ID: <54d740ed-1158-c8d4-4cae-15c06e95c9e6@gmx.net> Date: Wed, 19 Oct 2022 23:30:58 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <20221019203602.GA6563@wolff.to> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:HGQzr6QF94prwyzMJVjkMs6QsDyDVAm83Ol+Cl7H11IxEgAxGWm 8/0+7K9iq75KFQzWD6eVxYzMrFVcf5nlJ7O7aC0ioS4DxKI+mKW0CsfMuI+lUzVKgnbxidb Ma9ztvHthkEt0Nl2F4fAMmTOS5Q14yF7ZJOdWZt+HvLAv2yj8O6NamrzFyy5VPLdUDbm/4e h6XYONhA89EK18bdKbgVg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:AAvcGFujRkU=:yb4xpB09jyJR7VdWiVSI0P bqK002By+4Lu605r26XKgdmCH+cEgzIrYtGRNYgxQqnHCJuZdfAfCjS4R3da66SStZe10wbg8 uqm49rHCBLVQq4VoKv+x8o1N6BSSqfAzQwynNUwWtWlaZxnodFQUpBOj76qWf3ob4k7mwJeqg MWdTEAgFtU2EYEPsIA6rpglH/86GrDkc3EkKrJW2a2/hLv0grR1TkhSIUmD0gfQBxH3S5hWE5 ixZJkcWOFJxOvfu4pn2bon1cV34TtDoefnKPsIPwDZbcJz0gkYIzv/Qly7fFA7YCirKcAyaeW s7B+9f6B/m2UC+47qQVx1lCCOKxuBU1HsBlPZE1TszjoVlTE/d165Uh7nPZ5c8z1597g8yJvu QWAh2oddijv865GW3i8aUv3n45GoBJaKyMYJo9pnlh3jhiPNN5cc3wT4upCcfixQ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npkW4RkEzmFG1qdERQtQzXwKh/6gqj4139h00BERJ8bIqHNat d5t3pkO1yRWy/uLKM2CRNYI4ja9AlTEfuTY7O7/WujEmY List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Bruno Wolff III schrieb am 19.10.2022 um 22:36: > I noticed when I did an upgrade from Postgres 14 to 15 that the > public schema in template1 was still owned by postgres instead of > pg_database_owner. I was expecting it to change because the release > notes said that new database clusters would have that. But shouldn't > new clusters use what is set in template1? This is explained in the release notes: The change applies to new database clusters and to newly-created databases in existing clusters. Upgrading a cluster or restoring a database dump will preserve public's existing permissions.