| From: | Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> |
|---|---|
| To: | pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Table inheritance over schema boundaries possible |
| Date: | 2019-05-23 10:34:33 |
| Message-ID: | 6ee64dd4-bc7a-b941-a974-74a82f65cbc4@matrix.gatewaynet.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thiemo Kellner | 2019-05-23 10:51:37 | Re: Table inheritance over schema boundaries possible |
| Previous Message | Tony Shelver | 2019-05-23 09:52:17 | Re: Data entry / data editing tools (more end-user focus). |