diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-04-04 21:50:31 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-04-04 21:50:31 -0400 |
commit | 05dbd4a7734e09bd1f835f4197d9befa1c00c4f3 (patch) | |
tree | 3e6acdcebc87eb9719642b82ed4898ce946bc8ea /src/backend/utils/adt/pgstatfuncs.c | |
parent | 6f922ef88e43b3084cdddf4b5ffe525a00896a90 (diff) | |
download | postgresql-05dbd4a7734e09bd1f835f4197d9befa1c00c4f3.tar.gz postgresql-05dbd4a7734e09bd1f835f4197d9befa1c00c4f3.zip |
Fix plpgsql named-cursor-parameter feature for variable name conflicts.
The parser got confused if a cursor parameter had the same name as
a plpgsql variable. Reported and diagnosed by Yeb Havinga, though
this isn't exactly his proposed fix.
Also, some mostly-but-not-entirely-cosmetic adjustments to the original
named-cursor-parameter patch, for code readability and better error
diagnostics.
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions