summaryrefslogtreecommitdiff
path: root/src/backend/executor/README
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-01-09 15:46:11 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-01-09 15:46:11 +0000
commitd04db370720ece56ffcad54e46cf03483c742ebb (patch)
treef446fa524bfef45b5152575dc188e49c43ea0a25 /src/backend/executor/README
parentd3706cb6d217bc9c4676541f2df32171ef6555a2 (diff)
downloadpostgresql-d04db370720ece56ffcad54e46cf03483c742ebb.tar.gz
Arrange for function default arguments to be processed properly in expressions
that are set up for execution with ExecPrepareExpr rather than going through the full planner process. By introducing an explicit notion of "expression planning", this patch also lays a bit of groundwork for maybe someday allowing sub-selects in standalone expressions.
Diffstat (limited to 'src/backend/executor/README')
-rw-r--r--src/backend/executor/README5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/executor/README b/src/backend/executor/README
index 7644cc2cc4..467d6272d1 100644
--- a/src/backend/executor/README
+++ b/src/backend/executor/README
@@ -1,4 +1,4 @@
-$PostgreSQL: pgsql/src/backend/executor/README,v 1.7 2008/03/21 13:23:28 momjian Exp $
+$PostgreSQL: pgsql/src/backend/executor/README,v 1.8 2009/01/09 15:46:10 tgl Exp $
The Postgres Executor
=====================
@@ -124,7 +124,8 @@ be hidden inside function calls). This case has a flow of control like
creates per-tuple context
ExecPrepareExpr
- switch to per-query context to run ExecInitExpr
+ temporarily switch to per-query context
+ run the expression through expression_planner
ExecInitExpr
Repeatedly do: