diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-06-20 17:19:08 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-06-20 17:19:08 +0000 |
commit | ba790a5608ead9db7e08f700eb869dbefd3358a4 (patch) | |
tree | 31f3f8b9eab61e30764fa8f0aa8a2b56b24f69c3 /src/backend/utils/adt/regproc.c | |
parent | bffc4b6da12b8c52e14463f4c709bb4f1c57562f (diff) | |
download | postgresql-ba790a5608ead9db7e08f700eb869dbefd3358a4.tar.gz postgresql-ba790a5608ead9db7e08f700eb869dbefd3358a4.zip |
Here is a patch for Composite and Set returning function support. I made
two small changes to the API since last patch, which hopefully completes
the decoupling of composite function support from SRF specific support.
Joe Conway
Diffstat (limited to 'src/backend/utils/adt/regproc.c')
-rw-r--r-- | src/backend/utils/adt/regproc.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/backend/utils/adt/regproc.c b/src/backend/utils/adt/regproc.c index f9de2677969..0858d63f60b 100644 --- a/src/backend/utils/adt/regproc.c +++ b/src/backend/utils/adt/regproc.c @@ -13,7 +13,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/regproc.c,v 1.68 2002/05/11 00:24:16 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/regproc.c,v 1.69 2002/06/20 17:19:08 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -37,8 +37,6 @@ #include "utils/lsyscache.h" #include "utils/syscache.h" - -static List *stringToQualifiedNameList(const char *string, const char *caller); static void parseNameAndArgTypes(const char *string, const char *caller, const char *type0_spelling, List **names, int *nargs, Oid *argtypes); @@ -960,14 +958,10 @@ regtypeout(PG_FUNCTION_ARGS) } -/***************************************************************************** - * SUPPORT ROUTINES * - *****************************************************************************/ - /* * Given a C string, parse it into a qualified-name list. */ -static List * +List * stringToQualifiedNameList(const char *string, const char *caller) { char *rawname; @@ -997,6 +991,10 @@ stringToQualifiedNameList(const char *string, const char *caller) return result; } +/***************************************************************************** + * SUPPORT ROUTINES * + *****************************************************************************/ + /* * Given a C string, parse it into a qualified function or operator name * followed by a parenthesized list of type names. Reduce the |