aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeMergejoin.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-05-05 22:19:05 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-05-05 22:19:05 +0000
commit25c139623a3bc1062115bcaa9f2cfbda236faaa4 (patch)
tree4a286b698b06ef377e01cb38c9f57415a8f36f63 /src/backend/executor/nodeMergejoin.c
parente761afaba411ea004cf6d00270bf953a80dc699e (diff)
downloadpostgresql-25c139623a3bc1062115bcaa9f2cfbda236faaa4.tar.gz
postgresql-25c139623a3bc1062115bcaa9f2cfbda236faaa4.zip
Fix psql to not go into infinite recursion when expanding a variable that
refers to itself (directly or indirectly). Instead, print a message when recursion is detected, and don't expand the repeated reference. Per bug #5448 from Francis Markham. Back-patch to 8.0. Although the issue exists in 7.4 as well, it seems impractical to fix there because of the lack of any state stack that could be used to track active expansions.
Diffstat (limited to 'src/backend/executor/nodeMergejoin.c')
0 files changed, 0 insertions, 0 deletions