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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6ba4ecb) | patch
Process withCheckOption exprs in setrefs.c
2014年9月23日 00:12:51 +0000 (20:12 -0400)
2014年9月23日 00:12:51 +0000 (20:12 -0400)
commit 6ef8c658af2127f4e62cb24feade8b465c9e2fea
Process withCheckOption exprs in setrefs.c

While withCheckOption exprs had been handled in many cases by
happenstance, they need to be handled during set_plan_references and
more specifically down in set_plan_refs for ModifyTable plan nodes.
This is to ensure that the opfuncid's are set for operators referenced
in the withCheckOption exprs.

Identified as an issue by Thom Brown

Patch by Dean Rasheed

Back-patch to 9.4, where withCheckOption was introduced.
src/backend/optimizer/plan/setrefs.c diff | blob | blame | history
src/test/regress/expected/updatable_views.out diff | blob | blame | history
src/test/regress/sql/updatable_views.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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