table partitioning and access privileges - Mailing list pgsql-hackers

From Fujii Masao
Subject table partitioning and access privileges
Date
Msg-id CAHGQGwFHdSvifhJE+-GSNqUHSfbiKxaeQQ7HGcYz6SC2n_oDcg@mail.gmail.com
Whole thread Raw
Responses Re: table partitioning and access privileges  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

My customer reported me that the queries through a partitioned table
ignore each partition's SELECT, INSERT, UPDATE, and DELETE privileges,
on the other hand, only TRUNCATE privilege specified for each partition
is applied. I'm not sure if this behavior is expected or not. But anyway
is it better to document that? For example,

    Access privileges may be defined and removed separately for each partition.
    But note that queries through a partitioned table ignore each partition's
    SELECT, INSERT, UPDATE and DELETE privileges, and apply only TRUNCATE one.

Regards,

-- 
Fujii Masao



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: table partition and column default
Next
From: Masahiko Sawada
Date:
Subject: Re: PATCH: logical_work_mem and logical streaming of largein-progress transactions