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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c242baa) | patch
Fix setrefs.c code for Result Cache nodes
2021年5月25日 00:50:22 +0000 (12:50 +1200)
2021年5月25日 00:50:22 +0000 (12:50 +1200)
commit cba5c70b956810c61b3778f7041f92fbb8065acb
Fix setrefs.c code for Result Cache nodes

Result Cache, added in 9eacee2e6 neglected to properly adjust the plan
references in setrefs.c. This could lead to the following error during
EXPLAIN:

ERROR: cannot decompile join alias var in plan tree

Fix that.

Bug: 17030
Reported-by: Hans Buschmann
Discussion: https://postgr.es/m/17030-5844aecae42fe223@postgresql.org
src/backend/optimizer/plan/setrefs.c diff | blob | blame | history
src/test/regress/expected/join.out diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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