aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/commands')
-rw-r--r--src/backend/commands/aggregatecmds.c8
-rw-r--r--src/backend/commands/define.c15
-rw-r--r--src/backend/commands/functioncmds.c2
-rw-r--r--src/backend/commands/operatorcmds.c2
-rw-r--r--src/backend/commands/typecmds.c2
5 files changed, 8 insertions, 21 deletions
diff --git a/src/backend/commands/aggregatecmds.c b/src/backend/commands/aggregatecmds.c
index fde5a2a0e04..3f117d8e2c6 100644
--- a/src/backend/commands/aggregatecmds.c
+++ b/src/backend/commands/aggregatecmds.c
@@ -12,11 +12,11 @@
* src/backend/commands/aggregatecmds.c
*
* DESCRIPTION
- * The "DefineFoo" routines take the parse tree and pick out the
+ * The "DefineAggregate" routine takes the parse tree and picks out the
* appropriate arguments/flags, passing the results to the
- * corresponding "FooDefine" routines (in src/catalog) that do
- * the actual catalog-munging. These routines also verify permission
- * of the user to execute the command.
+ * "AggregateCreate" routine (in src/backend/catalog), which does the
+ * actual catalog-munging. DefineAggregate also verifies the permission of
+ * the user to execute the command.
*
*-------------------------------------------------------------------------
*/
diff --git a/src/backend/commands/define.c b/src/backend/commands/define.c
index 43f50066ea0..8921b279312 100644
--- a/src/backend/commands/define.c
+++ b/src/backend/commands/define.c
@@ -12,20 +12,7 @@
* src/backend/commands/define.c
*
* DESCRIPTION
- * The "DefineFoo" routines take the parse tree and pick out the
- * appropriate arguments/flags, passing the results to the
- * corresponding "FooDefine" routines (in src/catalog) that do
- * the actual catalog-munging. These routines also verify permission
- * of the user to execute the command.
- *
- * NOTES
- * These things must be defined and committed in the following order:
- * "create function":
- * input/output, recv/send procedures
- * "create type":
- * type
- * "create operator":
- * operators
+ * Support routines for dealing with DefElem nodes.
*
*
*-------------------------------------------------------------------------
diff --git a/src/backend/commands/functioncmds.c b/src/backend/commands/functioncmds.c
index 6fc3863265d..82dd6598937 100644
--- a/src/backend/commands/functioncmds.c
+++ b/src/backend/commands/functioncmds.c
@@ -15,7 +15,7 @@
* DESCRIPTION
* These routines take the parse tree and pick out the
* appropriate arguments/flags, and pass the results to the
- * corresponding "FooDefine" routines (in src/catalog) that do
+ * corresponding "FooCreate" routines (in src/backend/catalog) that do
* the actual catalog-munging. These routines also verify permission
* of the user to execute the command.
*
diff --git a/src/backend/commands/operatorcmds.c b/src/backend/commands/operatorcmds.c
index 5872a3e1922..ec8b053ba48 100644
--- a/src/backend/commands/operatorcmds.c
+++ b/src/backend/commands/operatorcmds.c
@@ -14,7 +14,7 @@
* DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the
* appropriate arguments/flags, passing the results to the
- * corresponding "FooDefine" routines (in src/catalog) that do
+ * corresponding "FooCreate" routines (in src/backend/catalog) that do
* the actual catalog-munging. These routines also verify permission
* of the user to execute the command.
*
diff --git a/src/backend/commands/typecmds.c b/src/backend/commands/typecmds.c
index 4f20b5be064..a6bb0b70f5d 100644
--- a/src/backend/commands/typecmds.c
+++ b/src/backend/commands/typecmds.c
@@ -13,7 +13,7 @@
* DESCRIPTION
* The "DefineFoo" routines take the parse tree and pick out the
* appropriate arguments/flags, passing the results to the
- * corresponding "FooDefine" routines (in src/catalog) that do
+ * corresponding "FooCreate" routines (in src/backend/catalog) that do
* the actual catalog-munging. These routines also verify permission
* of the user to execute the command.
*