Commit 976b24f
committed
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 Paquier1 parent fe5e3fc commit 976b24f
File tree
3 files changed
+190
-38
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
3 files changed
+190
-38
lines changed
0 commit comments