aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils')
-rw-r--r--src/include/utils/fcache.h6
-rw-r--r--src/include/utils/rel.h5
2 files changed, 6 insertions, 5 deletions
diff --git a/src/include/utils/fcache.h b/src/include/utils/fcache.h
index f9ace84b13a..504ac8e2adb 100644
--- a/src/include/utils/fcache.h
+++ b/src/include/utils/fcache.h
@@ -6,19 +6,21 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: fcache.h,v 1.5 1997/09/08 21:54:57 momjian Exp $
+ * $Id: fcache.h,v 1.6 1998/01/15 19:46:36 pgsql Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef FCACHE_H
#define FCACHE_H
+#include <fmgr.h>
+
typedef struct
{
int typlen; /* length of the return type */
int typbyval; /* true if return type is pass by value */
- func_ptr func; /* address of function to call (for c
+ FmgrInfo func; /* address of function to call (for c
* funcs) */
Oid foid; /* oid of the function in pg_proc */
Oid language; /* oid of the language in pg_language */
diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h
index 2de7b31671d..cbfa4dfba46 100644
--- a/src/include/utils/rel.h
+++ b/src/include/utils/rel.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: rel.h,v 1.14 1997/11/21 19:12:32 momjian Exp $
+ * $Id: rel.h,v 1.15 1998/01/15 19:46:37 pgsql Exp $
*
*-------------------------------------------------------------------------
*/
@@ -24,8 +24,7 @@ typedef struct Trigger
{
char *tgname;
Oid tgfoid;
- func_ptr tgfunc;
- func_ptr tgplfunc;
+ FmgrInfo tgfunc;
int16 tgtype;
int16 tgnargs;
int16 tgattr[8];