git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: fe5e3fc) | patch
Change various deparsing functions to return NULL for invalid input.
2016年7月26日 20:07:02 +0000 (16:07 -0400)
2016年7月26日 20:07:02 +0000 (16:07 -0400)
commit 976b24fb477464907737d28cdf18e202fa3b1a5b
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
src/backend/utils/adt/ruleutils.c diff | blob | blame | history
src/test/regress/expected/rules.out diff | blob | blame | history
src/test/regress/sql/rules.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /