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 1nr7YY-00082g-40 for pgsql-general@arkaria.postgresql.org; Wed, 18 May 2022 00:28:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nr7YW-0000ty-UH for pgsql-general@arkaria.postgresql.org; Wed, 18 May 2022 00:28:48 +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 1nr7YW-0000tp-K8 for pgsql-general@lists.postgresql.org; Wed, 18 May 2022 00:28:48 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nr7YU-0007Fg-5y for pgsql-general@lists.postgresql.org; Wed, 18 May 2022 00:28:47 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 97B315C01C0; Tue, 17 May 2022 20:28:45 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 17 May 2022 20:28:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1652833725; x= 1652920125; bh=Z2LaVr43TQcuu8GLWYKEkrt16tgO4yoeVEcZoPvWuJc=; b=w PJ3iL51hjugfFDiq/EydstSH30pI2jWEuZzonD4wFDcMr7n/SEoe8R1hAYumE3ss MH3KREZLcoYx8jCKQgW0c5FZTG2CP/XKTLNYSehs7C4mJ+1dY2xiIuwKSD1SVOz/ tjJD5Ac3oFNKIuXxt2qxXuU1F9pzmnqmFxZeZ+cRvsrhCbo6JCz6M7yMVfs2STCP AVjB0BZpQxGWrR1Pi5ZAioKzmnXsGj8c9avcJyT5vSskvaofCPyLTpubTAAfXpuh XG5be9Jj8kUpAkFkX02pFmOMhOpjbKwcbBs/rxDe6g171iF2Ev/XtP0jPl6CyLhG eEfMCNm/htKmjgrFSehSA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1652833725; x= 1652920125; bh=Z2LaVr43TQcuu8GLWYKEkrt16tgO4yoeVEcZoPvWuJc=; b=g Ih8EuTVRZ558mYcUZw/bH1R9wfpIFLKSXydHPDuO8VTf7rGqsQ+oc7ZaiVVCNuJ5 j01TC8bIjJfctTIF6dkoXbYjkrlJMLR4F7iULJPYsiCDn/QB9tCUb2QHbvlFSCpV cHrzShYbN1g1vmSuGb13hArd9kon6EuI2sCBovnufdoGpXa829rCz+cDPxLPiRjW SQUDUhhH4egC3XtK+GTdBmmd2gYyi91bsVrjUlI/7lPFVwa0W/3IUPbZr8gpMCEr eT0K4JXr6DiY7rfOwFWdNVNMdnLDgtDQ/DToXUoPCU1EXUc80gGnxCesZOIg+eTj EhysipR2betsbUYmXkh8A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrheekgdefgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpedtgfdvgfeikeeftddvffekvefggfevgffgheelieel tdejffffffehgfffhedvffenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhi rghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 17 May 2022 20:28:44 -0400 (EDT) Message-ID: Date: Tue, 17 May 2022 17:28:44 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: Restricting user to see schema structure Content-Language: en-US To: Bryn Llewellyn , "David G. Johnston" Cc: Neeraj M R , Tom Lane PostgreSQL , pgsql-general list References: <048ab2c5-ddf6-d039-3c2a-1828d8c9137b@aklaver.com> <569304.1652411286@sss.pgh.pa.us> <228E8A44-A504-4E0D-99BD-71B41812FFE2@yugabyte.com> <557fd2b6-dd2e-66ad-4920-25d173eaf10e@aklaver.com> <84B060E2-4393-4D49-AB4C-BAFCA94620F1@yugabyte.com> <766C91F2-6FF8-4D4B-94BB-39B3BAD2AFE8@yugabyte.com> <099E4479-6ADE-45E6-AA98-27BDD949EE20@yugabyte.com> From: Adrian Klaver In-Reply-To: <099E4479-6ADE-45E6-AA98-27BDD949EE20@yugabyte.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 5/17/22 13:21, Bryn Llewellyn wrote: > > The paragraph describes very surprising behavior in the present era of > "secure by default". The sentence "For maximum security..." at the end > emphasizes this and has you go to some effort (CREATE and REVOKE in the > same txn) to undo the "insecurity by default" paradigm. I s'pose that > compatibility on upgrade means that nothing can change here. There is movement on this front coming in Postgres 15: https://www.postgresql.org/docs/devel/release-15.html#id-1.11.6.5.3 -- Adrian Klaver adrian.klaver@aklaver.com