aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-04-19 19:46:33 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-04-19 19:46:33 +0000
commit1d97c19a0f748e94b9582dcbaec33ad74be062f9 (patch)
treedc701c3e1de608b76284d5ac34e7566c4b7a8b56 /src/backend/commands
parent3a624e9200bbd8b88d7724e1448fe530f32e2c3c (diff)
downloadpostgresql-1d97c19a0f748e94b9582dcbaec33ad74be062f9.tar.gz
postgresql-1d97c19a0f748e94b9582dcbaec33ad74be062f9.zip
Fix estimate_num_groups() to not fail on PlaceHolderVars, per report from
Stefan Kaltenbrunner. The most reasonable behavior (at least for the near term) seems to be to ignore the PlaceHolderVar and examine its argument instead. In support of this, change the API of pull_var_clause() to allow callers to request recursion into PlaceHolderVars. Currently estimate_num_groups() is the only customer for that behavior, but where there's one there may be others.
Diffstat (limited to 'src/backend/commands')
0 files changed, 0 insertions, 0 deletions