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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: d2a2808) | patch
Provide an error cursor for "can't subscript" error messages.
2020年12月11日 22:54:10 +0000 (17:54 -0500)
2020年12月11日 23:58:21 +0000 (18:58 -0500)
commit 653aa603f501aa6e4865105a928cd13082ee7152
Provide an error cursor for "can't subscript" error messages.

Commit c7aba7c14 didn't add this, but after more fooling with the
feature I feel that it'd be useful. To make this possible, refactor
getSubscriptingRoutines() so that the caller is responsible for
throwing any error. (In clauses.c, I just chose to make the
most conservative assumption rather than throwing an error. We don't
expect failures there anyway really, so the code space for an error
message would be a poor investment.)
src/backend/executor/execExpr.c diff | blob | blame | history
src/backend/optimizer/util/clauses.c diff | blob | blame | history
src/backend/parser/parse_node.c diff | blob | blame | history
src/backend/utils/cache/lsyscache.c diff | blob | blame | history
src/test/regress/expected/arrays.out diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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