Re: Foreign Key Validation after Reference Table Ownership Change - Mailing list pgsql-general

From Louis Battuello
Subject Re: Foreign Key Validation after Reference Table Ownership Change
Date
Msg-id DA4C8A9E-C48D-423E-A967-C9FDEFCE6C8D@etasseo.com
Whole thread Raw
In response to Foreign Key Validation after Reference Table Ownership Change  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general


On Mar 21, 2018, at 2:36 PM, David G. Johnston  wrote:

And altering an owner of a table to one lacking usage and create permissions on the schema is possible but unadvisible.

David J.


Exactly. The cause of my mistake was changing the REFERENCED table ownership to a role without granting usage on the schema, too. However, with the error occurring when acting as user_1, I wasn’t clear on where the privilege mismatch occurred and which role’s privilege required correction.

pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Foreign Key Validation after Reference Table Ownership Change
Next
From: Tomas Vondra
Date:
Subject: Re: Postgresql 10.3 , query never completes if LIMIT clause isspecified and paralle processing is on