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 1eyhOK-0007VM-S2 for pgsql-general@arkaria.postgresql.org; Wed, 21 Mar 2018 17:19:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eyhOJ-000774-Gx for pgsql-general@arkaria.postgresql.org; Wed, 21 Mar 2018 17:19:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eyhOJ-00076t-8N for pgsql-general@lists.postgresql.org; Wed, 21 Mar 2018 17:19:11 +0000 Received: from p3plsmtpa09-03.prod.phx3.secureserver.net ([173.201.193.232]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eyhOC-0002zF-6H for pgsql-general@postgresql.org; Wed, 21 Mar 2018 17:19:10 +0000 Received: from [10.0.0.89] ([73.86.174.65]) by :SMTPAUTH: with SMTP id yhO6eQlMoOLjhyhO7eB47E; Wed, 21 Mar 2018 10:19:00 -0700 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: Foreign Key Validation after Reference Table Ownership Change From: Louis Battuello X-Mailer: iPhone Mail (15D100) In-Reply-To: Date: Wed, 21 Mar 2018 13:18:58 -0400 Cc: "pgsql-general@postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <3DCEDEC7-0045-43D8-8D4F-9723F5DC7FEE@etasseo.com> References: <20180321083033.f495bf0537e129b62c3edf58e37f64ff.23347c6e15.mailapi@email02.godaddy.com> To: "David G. Johnston" X-CMAE-Envelope: MS4wfNeJTZhPtc0L3DGVhiBZr8yiIMgDfdlzZUVpZBV5HLqGJ71OaeUNRpA4CBel5VztgUJzqinLva/nr+f+4jmiUHwTeaBJm6ILIXB3QllWYHrnQLsx2hhi Ob3xFuWCTu/mcmMBzPnXOWBMITLNLq+Qg5ZFYSJ3IP7LAvZJu4TAtDmGm8EnDoRPx2IU+wG7iQpCTleKBkMINkiEao3vZU17qYB9jrCZmVKRaczEvxjLYExN List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Agreed. It would certainly make sense that user_2 have usage on the schema i= n order to operate against the table owned by user_2. I just found it confus= ing that the discrepancy would cause an issue for user_1, which had all nece= ssary privileges on the schema and references on the reference table. Why wo= uld an issue with user_2=E2=80=99s ACL manifest itself with a foreign key va= lidation on insert by user_1 on a table owned by user_1?=