diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-07-26 16:07:02 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-07-26 16:07:02 -0400 |
commit | 976b24fb477464907737d28cdf18e202fa3b1a5b (patch) | |
tree | d1e0bdb50e5bc4db9e5fb138171427780310409e /src/backend/access/gist/gistvalidate.c | |
parent | fe5e3fce798dccf3f298b65c5d9a132e9646712a (diff) | |
download | postgresql-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