agora inbox for pgsql-docs@postgresql.org
help / color / mirror / Atom feedFrom: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: kes-kes@yandex.ru
Subject: No information about the internal implementation for RLS
Date: Sun, 29 Jun 2025 21:04:14 +0000
Message-ID: <175123105452.1773110.10116300204980532671@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/17/ddl-rowsecurity.html
Description:
https://www.postgresql.org/docs/current/ddl-rowsecurity.html
The document does not contain any information how RLS are applied to the
main WHERE and how they are used by optimizer. For example there is no
examples which indexes will be used if for RLS x column was used, in the
main query y column was used and when table has indexes for all: x, y and
combined index (x,y) columns.
It would be really helpful to see this information to understand performance
impact.
Thank you.
Message-ID: <175123105452.1773110.10116300204980532671@wrigleys.postgresql.org>
Permalink: ../175123105452.1773110.10116300204980532671@wrigleys.postgresql.org/
Also on: postgresql.org/message-id/175123105452.1773110.10116300204980532671@wrigleys.postgresql.org
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 using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, kes-kes@yandex.ru
Subject: Re: No information about the internal implementation for RLS
In-Reply-To: <175123105452.1773110.10116300204980532671@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox