aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_clause.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-05-05 22:19:31 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-05-05 22:19:31 +0000
commitf9a60d1542d21f2caf9a51b249dde63054bd9272 (patch)
tree4ef33ebff7e7d12a7e450a67ae42d7300fb91f5c /src/backend/parser/parse_clause.c
parent923b447063e5c72d731c0c814cce189e6487c52e (diff)
downloadpostgresql-f9a60d1542d21f2caf9a51b249dde63054bd9272.tar.gz
postgresql-f9a60d1542d21f2caf9a51b249dde63054bd9272.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/parser/parse_clause.c')
0 files changed, 0 insertions, 0 deletions