On 23/5/19 8:46 π.μ., Thiemo Kellner wrote:
Hi all
I am wondering if table inheritance is possible over the boundaries of schemata
and different owners.
I have database act with schemata il and scd. When I issue as IL
create table IL.INHERITANCE_TEST() inherits (SCD.TEMPL_BK);
I get
[Code: 0, SQL State: 42501] ERROR: permission denied for schema scd
Even though I granted all privileges to IL.
What am I missing or is it just not possible what I want to do?
as of 10 (same with 11) you (IL) must be the owner of relation SCD.TEMPL_BK .
Create your tables with a user who has correct privileges on both
tables/schemas.
Kind regards
Thiemo
--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt