diff options
| author | Simon Riggs | 2014-01-20 17:22:38 +0000 |
|---|---|---|
| committer | Simon Riggs | 2014-01-20 17:22:38 +0000 |
| commit | 4d1e2aeb1a162770683a8d1e13fc13ac2d95d810 (patch) | |
| tree | ab15a5f2a9213e2235f0bb8d3237448dbe43cec4 /src/include/optimizer | |
| parent | 74a72ec208671f3ff301b4f6ef703f4957deccea (diff) | |
Speed up COPY into tables with DEFAULT nextval()
Previously the presence of a nextval() prevented the
use of batch-mode COPY. This patch introduces a
special case just for nextval() functions. In future
we will introduce a general case solution for
labelling volatile functions as safe for use.
Diffstat (limited to 'src/include/optimizer')
| -rw-r--r-- | src/include/optimizer/clauses.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/optimizer/clauses.h b/src/include/optimizer/clauses.h index 53484ff8c06..dd991b16bce 100644 --- a/src/include/optimizer/clauses.h +++ b/src/include/optimizer/clauses.h @@ -61,6 +61,7 @@ extern bool contain_subplans(Node *clause); extern bool contain_mutable_functions(Node *clause); extern bool contain_volatile_functions(Node *clause); +extern bool contain_volatile_functions_not_nextval(Node *clause); extern bool contain_nonstrict_functions(Node *clause); extern bool contain_leaky_functions(Node *clause); |
