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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f05ed5a) | patch
Hide internal error for pg_collation_actual_version(<bad OID>).
2021年2月22日 10:01:20 +0000 (23:01 +1300)
2021年2月22日 10:01:20 +0000 (23:01 +1300)
commit 0fb0a0503bfc125764c8dba4f515058145dc7f8b
Hide internal error for pg_collation_actual_version(<bad OID>).

Instead of an unsightly internal "cache lookup failed" message, just
return NULL for bad OIDs, as is the convention for other similar things.

Reported-by: Justin Pryzby <pryzby@telsasoft.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/20210117215940.GE8560%40telsasoft.com
src/backend/catalog/index.c diff | blob | blame | history
src/backend/catalog/pg_depend.c diff | blob | blame | history
src/backend/commands/collationcmds.c diff | blob | blame | history
src/backend/utils/adt/pg_locale.c diff | blob | blame | history
src/include/utils/pg_locale.h diff | blob | blame | history
src/test/regress/expected/collate.icu.utf8.out diff | blob | blame | history
src/test/regress/sql/collate.icu.utf8.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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