diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-07-30 17:57:18 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-07-30 17:57:18 +0000 |
commit | 2f7cd4356b1b95b935581477a9495003f589fc83 (patch) | |
tree | 16fb281cbfa6361b6923a5c4c703124a8f694991 /src/backend/commands/dbcommands.c | |
parent | 9e468f94aa30cef7c188a2b8b0d26f26130d44c0 (diff) | |
download | postgresql-2f7cd4356b1b95b935581477a9495003f589fc83.tar.gz postgresql-2f7cd4356b1b95b935581477a9495003f589fc83.zip |
Improved version of patch to protect pg_get_expr() against misuse:
look through join alias Vars to avoid breaking join queries, and
move the test to someplace where it will catch more possible ways
of calling a function. We still ought to throw away the whole thing
in favor of a data-type-based solution, but that's not feasible in
the back branches.
Completion of back-port of my patch of yesterday.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions