pgsql: Make pg_get_statisticsobjdef_expressions return NULL - Mailing list pgsql-committers

From Tomas Vondra
Subject pgsql: Make pg_get_statisticsobjdef_expressions return NULL
Date
Msg-id E1lezsr-0002Kk-Tx@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make pg_get_statisticsobjdef_expressions return NULL

The usual behavior for functions in ruleutils.c is to return NULL when
the object does not exist. pg_get_statisticsobjdef_expressions raised an
error instead, so correct that.

Reported-by: Justin Pryzby
Discussion: https://postgr.es/m/20210505210947.GA27406%40telsasoft.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8d4b311d2494ca592e30aed03b29854d864eb846

Modified Files
--------------
src/backend/utils/adt/ruleutils.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Doc: Update notes about libc collation versions.
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Add a copyright notice to perl files lacking one.