diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-07-30 17:56:59 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-07-30 17:56:59 +0000 |
commit | 6b8494a3adc009247ada8a7a7adc1c488396161d (patch) | |
tree | cb30d4d85b2ebbe479df32fd0d3632329a36c3eb /src/tutorial/funcs_new.c | |
parent | b08fd11508a2b36e64f456d8e0345f1c66dae333 (diff) | |
download | postgresql-6b8494a3adc009247ada8a7a7adc1c488396161d.tar.gz postgresql-6b8494a3adc009247ada8a7a7adc1c488396161d.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/tutorial/funcs_new.c')
0 files changed, 0 insertions, 0 deletions