Make pg_get_statisticsobjdef_expressions return NULL
Tomas Vondra <tomas.vondra@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/ruleutils.c | modified | +2 −2 |
Discussion
- cache lookup failed for statistics object 123 3 messages · 2021-05-05 → 2021-05-07