aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-12-06 19:40:01 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-12-06 19:40:01 +0000
commitb307d7a6c4af2de8b6b25d5614152f7cd4378f03 (patch)
tree47787a6c88bcc0a376b6643a44ffa9277ca2168f /src/backend/tcop/postgres.c
parent886a02d1cb19fe25859bd3c2d1f6a64b04cdc710 (diff)
downloadpostgresql-b307d7a6c4af2de8b6b25d5614152f7cd4378f03.tar.gz
postgresql-b307d7a6c4af2de8b6b25d5614152f7cd4378f03.zip
Fix planning of SubLinks to ensure that Vars generated from transformation of
a sublink's test expression have the correct vartypmod, rather than defaulting to -1. There's at least one place where this is important because we're expecting these Vars to be exactly equal() to those appearing in the subplan itself. This is a pretty klugy solution --- it would likely be cleaner to change Param nodes to include a typmod field --- but we can't do that in the already-released 8.2 branch. Per bug report from Hubert Fongarnand.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions