summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvalidate.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-07-26 16:07:02 -0400
committerRobert Haas <rhaas@postgresql.org>2016-07-26 16:07:02 -0400
commit976b24fb477464907737d28cdf18e202fa3b1a5b (patch)
treed1e0bdb50e5bc4db9e5fb138171427780310409e /src/backend/access/gist/gistvalidate.c
parentfe5e3fce798dccf3f298b65c5d9a132e9646712a (diff)
downloadpostgresql-976b24fb477464907737d28cdf18e202fa3b1a5b.tar.gz
Change various deparsing functions to return NULL for invalid input.
Previously, some functions returned various fixed strings and others failed with a cache lookup error. Per discussion, standardize on returning NULL. Although user-exposed "cache lookup failed" error messages might normally qualify for bug-fix treatment, no back-patch; the risk of breaking user code which is accustomed to the current behavior seems too high. Michael Paquier
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions