mirror of
https://github.com/postgres/postgres.git
synced 2025-08-24 09:27:52 +03:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user