From ba790a5608ead9db7e08f700eb869dbefd3358a4 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 20 Jun 2002 17:19:08 +0000 Subject: 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 --- src/backend/utils/adt/regproc.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/backend/utils/adt/regproc.c') 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 -- cgit v1.2.3