diff options
author | Tom Lane | 2005-03-31 22:46:33 +0000 |
---|---|---|
committer | Tom Lane | 2005-03-31 22:46:33 +0000 |
commit | 47888fe84227aaf3decffc7204554bdec54d2b29 (patch) | |
tree | 73703aa272d2b9899626002190f0fbd3b1e579fb /src/include/fmgr.h | |
parent | fb13881f423193a8342e0fe098f581e511b09d67 (diff) |
First phase of OUT-parameters project. We can now define and use SQL
functions with OUT parameters. The various PLs still need work, as does
pg_dump. Rudimentary docs and regression tests included.
Diffstat (limited to 'src/include/fmgr.h')
-rw-r--r-- | src/include/fmgr.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/fmgr.h b/src/include/fmgr.h index 0c11130053e..3dc53ccb166 100644 --- a/src/include/fmgr.h +++ b/src/include/fmgr.h @@ -11,13 +11,16 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/fmgr.h,v 1.37 2005/03/22 20:13:09 tgl Exp $ + * $PostgreSQL: pgsql/src/include/fmgr.h,v 1.38 2005/03/31 22:46:24 tgl Exp $ * *------------------------------------------------------------------------- */ #ifndef FMGR_H #define FMGR_H +/* We don't want to include primnodes.h here, so make a stub reference */ +struct Node; + /* * All functions that can be called directly by fmgr must have this signature. @@ -402,6 +405,7 @@ extern void clear_external_function_hash(void *filehandle); extern Oid fmgr_internal_function(const char *proname); extern Oid get_fn_expr_rettype(FmgrInfo *flinfo); extern Oid get_fn_expr_argtype(FmgrInfo *flinfo, int argnum); +extern Oid get_call_expr_argtype(struct Node *expr, int argnum); /* * Routines in dfmgr.c |