pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Table inheritance over schema boundaries possible
Date: Thu, 23 May 2019 13:34:33 +0300
Message-ID: <6ee64dd4-bc7a-b941-a974-74a82f65cbc4@matrix.gatewaynet.com> (raw)
In-Reply-To: <20190523054639.Horde.WeEjiGEet91mF95ZpS1d2GA@webmail.gelassene-pferde.biz>
References: <20190523054639.Horde.WeEjiGEet91mF95ZpS1d2GA@webmail.gelassene-pferde.biz>

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






view thread (3+ messages)  latest in thread

Message-ID: <6ee64dd4-bc7a-b941-a974-74a82f65cbc4@matrix.gatewaynet.com>
Permalink:  ../6ee64dd4-bc7a-b941-a974-74a82f65cbc4@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/6ee64dd4-bc7a-b941-a974-74a82f65cbc4@matrix.gatewaynet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: achill@matrix.gatewaynet.com
  Subject: Re: Table inheritance over schema boundaries possible
  In-Reply-To: <6ee64dd4-bc7a-b941-a974-74a82f65cbc4@matrix.gatewaynet.com>
  References: <20190523054639.Horde.WeEjiGEet91mF95ZpS1d2GA@webmail.gelassene-pferde.biz> <6ee64dd4-bc7a-b941-a974-74a82f65cbc4@matrix.gatewaynet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox