diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-07-29 23:16:41 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-07-29 23:16:41 +0000 |
| commit | c902ad9ca950fa1e6577ee3d13d96d4e78e84606 (patch) | |
| tree | bdcdaffd324e21dba21d2c414d691cc2a71a03f3 /src/include/postgres_ext.h | |
| parent | a0194371a8b037b6c9c189df73a420e0dfae6041 (diff) | |
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.
This needs to be back-patched further than 9.0, but I don't have time
to do so today. Committing now so that the fix gets into 9.0beta4.
Diffstat (limited to 'src/include/postgres_ext.h')
0 files changed, 0 insertions, 0 deletions
