aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regexec.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-01-18 00:50:03 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-01-18 00:50:03 +0000
commit6bdfde9a7790ff350f176ae6506c4a061d7f02f4 (patch)
tree3e21cbecd3f3fb358306f90894e314c32b0cd320 /src/backend/regex/regexec.c
parentde816a03c4f94b95f4107766b275b3ea4e2ddf80 (diff)
downloadpostgresql-6bdfde9a7790ff350f176ae6506c4a061d7f02f4.tar.gz
postgresql-6bdfde9a7790ff350f176ae6506c4a061d7f02f4.zip
When testing whether a sub-plan can do projection, use a general-purpose
check instead of hardwiring assumptions that only certain plan node types can appear at the places where we are testing. This was always a pretty fragile assumption, and it turns out to be broken in 7.4 for certain cases involving IN-subselect tests that need type coercion. Also, modify code that builds finished Plan tree so that node types that don't do projection always copy their input node's targetlist, rather than having the tlist passed in from the caller. The old method makes it too easy to write broken code that thinks it can modify the tlist when it cannot.
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions