diff options
| author | Heikki Linnakangas | 2015-07-14 15:17:55 +0000 |
|---|---|---|
| committer | Heikki Linnakangas | 2015-07-14 15:17:55 +0000 |
| commit | 321eed5f0f7563a0cabb3d7a98132856287c1ad1 (patch) | |
| tree | ebca2c34b9b89435f1f26a65ce347b830db1e26b /src/include/commands | |
| parent | 705d397cd9cede1fd6fb1260d1689570bf6142d4 (diff) | |
Add ALTER OPERATOR command, for changing selectivity estimator functions.
Other options cannot be changed, as it's not totally clear if cached plans
would need to be invalidated if one of the other options change. Selectivity
estimator functions only change plan costs, not correctness of plans, so
those should be safe.
Original patch by Uriy Zhuravlev, heavily edited by me.
Diffstat (limited to 'src/include/commands')
| -rw-r--r-- | src/include/commands/defrem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/commands/defrem.h b/src/include/commands/defrem.h index 9b81c16d82..adae296f52 100644 --- a/src/include/commands/defrem.h +++ b/src/include/commands/defrem.h @@ -73,6 +73,7 @@ extern void interpret_function_parameter_list(List *parameters, /* commands/operatorcmds.c */ extern ObjectAddress DefineOperator(List *names, List *parameters); extern void RemoveOperatorById(Oid operOid); +extern ObjectAddress AlterOperator(AlterOperatorStmt *stmt); /* commands/aggregatecmds.c */ extern ObjectAddress DefineAggregate(List *name, List *args, bool oldstyle, |
