Re: Table inheritance over schema boundaries possible - Mailing list pgsql-general

From Achilleas Mantzios
Subject Re: Table inheritance over schema boundaries possible
Date
Msg-id 6ee64dd4-bc7a-b941-a974-74a82f65cbc4@matrix.gatewaynet.com
Whole thread Raw
In response to Table inheritance over schema boundaries possible  (Thiemo Kellner <thiemo@gelassene-pferde.biz>)
Responses Re: Table inheritance over schema boundaries possible
List pgsql-general
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




pgsql-general by date:

Previous
From: Tony Shelver
Date:
Subject: Re: Data entry / data editing tools (more end-user focus).
Next
From: Thiemo Kellner
Date:
Subject: Re: Table inheritance over schema boundaries possible