pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: psql: Add leakproof indicator to \df+, \do+, \dAo+, and \dC+ out
Date: Tue, 14 Jan 2025 13:26:17 +0000
Message-ID: <E1tXgvx-001ViJ-G2@gemulon.postgresql.org> (raw)

psql: Add leakproof indicator to \df+, \do+, \dAo+, and \dC+ output.

This allows users to determine whether particular functions are
leakproof, and whether the underlying functions used by operators and
casts are leakproof. This is useful to determine whether indexes can
be used in queries on security barrier views or tables with row-level
security policies.

Yugo Nagata, reviewed by Erik Wienhold and Dean Rasheed.

Discussion: https://postgr.es/m/20240701220817.483f9b645b95611f8b1f65da%40sranhm.sraoss.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2355e51110e7c687c125a5958f12a462931de996

Modified Files
--------------
doc/src/sgml/planstats.sgml        |  3 ++
doc/src/sgml/ref/psql-ref.sgml     | 18 +++++----
doc/src/sgml/rules.sgml            | 11 ++++++
src/bin/psql/describe.c            | 54 +++++++++++++++++++++------
src/test/regress/expected/psql.out | 75 ++++++++++++++++++++------------------
src/test/regress/sql/psql.sql      |  2 +-
6 files changed, 107 insertions(+), 56 deletions(-)



Message-ID: <E1tXgvx-001ViJ-G2@gemulon.postgresql.org>
Permalink:  ../E1tXgvx-001ViJ-G2@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tXgvx-001ViJ-G2@gemulon.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-committers@postgresql.org
  Cc: dean.a.rasheed@gmail.com, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: psql: Add leakproof indicator to \df+, \do+, \dAo+, and \dC+ out
  In-Reply-To: <E1tXgvx-001ViJ-G2@gemulon.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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox