Обсуждение: pgsql: Make pg_get_statisticsobjdef_expressions return NULL

Поиск
Список
Период
Сортировка

pgsql: Make pg_get_statisticsobjdef_expressions return NULL

От
Tomas Vondra
Дата:
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(-)