diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-10-02 21:33:33 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-10-02 21:33:33 +0000 |
commit | 6eb8d255d217c7f0ed2a89e75ae5cb14653c64eb (patch) | |
tree | a46783f6fd6caf895f23cfc7275472b0d43715f6 /src/bin/psql/psqlHelp.h | |
parent | e23a2b1ea02fbbb121048d5f616c397949ebdca8 (diff) | |
download | postgresql-6eb8d255d217c7f0ed2a89e75ae5cb14653c64eb.tar.gz postgresql-6eb8d255d217c7f0ed2a89e75ae5cb14653c64eb.zip |
Allow CREATE FUNCTION's WITH clause to be used for all language types,
not just C, so that ISCACHABLE attribute can be specified for user-defined
functions. Get rid of ParamString node type, which wasn't actually being
generated by gram.y anymore, even though define.c thought that was what
it was getting. Clean up minor bug in dfmgr.c (premature heap_close).
Diffstat (limited to 'src/bin/psql/psqlHelp.h')
-rw-r--r-- | src/bin/psql/psqlHelp.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/bin/psql/psqlHelp.h b/src/bin/psql/psqlHelp.h index 63268c2cbd9..3b39f7b2d8e 100644 --- a/src/bin/psql/psqlHelp.h +++ b/src/bin/psql/psqlHelp.h @@ -5,7 +5,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: psqlHelp.h,v 1.76 1999/09/28 04:34:48 momjian Exp $ + * $Id: psqlHelp.h,v 1.77 1999/10/02 21:33:29 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -88,14 +88,16 @@ static struct _helpStruct QL_HELP[] = { "create a user-defined function", "\ \tCREATE FUNCTION function_name ([type1, ...typeN]) RETURNS return_type\n\ -\tAS 'sql-queries'|'builtin_function_name'|'object_filename'\n\ -\tLANGUAGE 'sql'|'internal'|'c';\n\ +\t[WITH ( attributes )]\n\ +\tAS 'sql_queries'|'builtin_function_name'|'procedural_commands'\n\ +\tLANGUAGE 'sql'|'internal'|'procedural_language_name';\n\ \n\ OR\n\ \n\ \tCREATE FUNCTION function_name ([type1, ...typeN]) RETURNS return_type\n\ -\tAS 'object_filename', 'link_symbol'\n\ -\tLANGUAGE 'c';"}, +\t[WITH ( attributes )]\n\ +\tAS 'object_filename' [, 'link_symbol']\n\ +\tLANGUAGE 'C';"}, {"create index", "construct an index", "\ |