aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-05-30 01:04:44 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-05-30 01:04:44 +0000
commitc8f81df41b1269714c08a508ccecc0adc8ef96bd (patch)
tree46cad8f3f407e2e8c9871e78a7f76c4da2704ebd /src/backend/utils/adt
parent03a542ba630fe800afc98dc08a6f0d2b93b0addf (diff)
downloadpostgresql-c8f81df41b1269714c08a508ccecc0adc8ef96bd.tar.gz
postgresql-c8f81df41b1269714c08a508ccecc0adc8ef96bd.zip
Skip eval_const_expressions when the query is such that the expression
would be evaluated only once anyway (ie, it's just a SELECT with no FROM or an INSERT ... VALUES). The planner can't do it any faster than the executor, so no point in an extra copying of the expression tree.
Diffstat (limited to 'src/backend/utils/adt')
0 files changed, 0 insertions, 0 deletions