summaryrefslogtreecommitdiff
path: root/src/pl/plperl/plperl.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-05-05 22:19:24 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-05-05 22:19:24 +0000
commitddcba8625644291dd5269133976eb10428a9e2c5 (patch)
tree79d08813bc7fd109bba9c7934c39a2236130f83c /src/pl/plperl/plperl.c
parentfbd2fbed0c9b37c8ef61661d42cf9deff938e9e4 (diff)
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/pl/plperl/plperl.c')
0 files changed, 0 insertions, 0 deletions