pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Table inheritance over schema boundaries possible 3+ messages / 2 participants [nested] [flat]
* Table inheritance over schema boundaries possible @ 2019-05-23 05:46 Thiemo Kellner <thiemo@gelassene-pferde.biz> 0 siblings, 1 reply; 3+ messages in thread From: Thiemo Kellner @ 2019-05-23 05:46 UTC (permalink / raw) To: PostgreSQL General <pgsql-general@lists.postgresql.org> 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? Kind regards Thiemo -- S/MIME Public Key: https://oc.gelassene-pferde.biz/index.php/s/eJuAUFONag6ofnH Signal (Safer than WhatsApp): +49 1578 7723737 Handys: +41 78 947 36 21 | +49 1578 772 37 37 Tox-Id: B7282A9E31D944DDAD1ECC5B33C36AAE80B32D119AB7391D602C937A65E8CA0625C495C5322B Attachments: smime.p7s (application/pkcs7-signature, 3.9K) download ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Table inheritance over schema boundaries possible @ 2019-05-23 10:34 Achilleas Mantzios <achill@matrix.gatewaynet.com> parent: Thiemo Kellner <thiemo@gelassene-pferde.biz> 0 siblings, 1 reply; 3+ messages in thread From: Achilleas Mantzios @ 2019-05-23 10:34 UTC (permalink / raw) To: pgsql-general@lists.postgresql.org 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 ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Table inheritance over schema boundaries possible @ 2019-05-23 10:51 Thiemo Kellner <thiemo@gelassene-pferde.biz> parent: Achilleas Mantzios <achill@matrix.gatewaynet.com> 0 siblings, 0 replies; 3+ messages in thread From: Thiemo Kellner @ 2019-05-23 10:51 UTC (permalink / raw) To: pgsql-general@lists.postgresql.org Quoting Achilleas Mantzios <achill@matrix.gatewaynet.com>: > 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. Not what I hope for but was afraid of. thank you for the answer. > -- > Achilleas Mantzios > IT DEV Lead > IT DEPT > Dynacom Tankers Mgmt -- S/MIME Public Key: https://oc.gelassene-pferde.biz/index.php/s/eJuAUFONag6ofnH Signal (Safer than WhatsApp): +49 1578 7723737 Handys: +41 78 947 36 21 | +49 1578 772 37 37 Tox-Id: B7282A9E31D944DDAD1ECC5B33C36AAE80B32D119AB7391D602C937A65E8CA0625C495C5322B Attachments: smime.p7s (application/pkcs7-signature, 3.9K) download ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2019-05-23 10:51 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-05-23 05:46 Table inheritance over schema boundaries possible Thiemo Kellner <thiemo@gelassene-pferde.biz> 2019-05-23 10:34 ` Achilleas Mantzios <achill@matrix.gatewaynet.com> 2019-05-23 10:51 ` Thiemo Kellner <thiemo@gelassene-pferde.biz>
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