aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/functioncmds.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2005-03-13 05:19:26 +0000
committerNeil Conway <neilc@samurai.com>2005-03-13 05:19:26 +0000
commit9423383748b42e307153ecd31458b832acbdfe17 (patch)
treea7eab4df8aad2317383a1210983427e7f037f0c3 /src/backend/commands/functioncmds.c
parentc151e6374cc30d85dd9d17fd08cd7fa464d1faec (diff)
downloadpostgresql-9423383748b42e307153ecd31458b832acbdfe17.tar.gz
postgresql-9423383748b42e307153ecd31458b832acbdfe17.zip
Update obsolete comment.
Diffstat (limited to 'src/backend/commands/functioncmds.c')
-rw-r--r--src/backend/commands/functioncmds.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/backend/commands/functioncmds.c b/src/backend/commands/functioncmds.c
index 414b23cd870..e2afbce1029 100644
--- a/src/backend/commands/functioncmds.c
+++ b/src/backend/commands/functioncmds.c
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/commands/functioncmds.c,v 1.54 2005/01/27 23:23:55 neilc Exp $
+ * $PostgreSQL: pgsql/src/backend/commands/functioncmds.c,v 1.55 2005/03/13 05:19:26 neilc Exp $
*
* DESCRIPTION
* These routines take the parse tree and pick out the
@@ -300,23 +300,17 @@ compute_attributes_sql_style(List *options,
/*-------------
- * Interpret the parameters *parameters and return their contents as
- * *byte_pct_p, etc.
+ * Interpret the parameters *parameters and return their contents via
+ * out parameters *isStrict_p and *volatility_p.
*
* These parameters supply optional information about a function.
- * All have defaults if not specified.
- *
- * Note: currently, only two of these parameters actually do anything:
+ * All have defaults if not specified. Parameters:
*
* * isStrict means the function should not be called when any NULL
* inputs are present; instead a NULL result value should be assumed.
*
* * volatility tells the optimizer whether the function's result can
* be assumed to be repeatable over multiple evaluations.
- *
- * The other four parameters are not used anywhere. They used to be
- * used in the "expensive functions" optimizer, but that's been dead code
- * for a long time.
*------------
*/
static void