summaryrefslogtreecommitdiff
path: root/src/include/utils/fmgrtab.h
diff options
context:
space:
mode:
authorMarc G. Fournier1996-08-28 01:59:28 +0000
committerMarc G. Fournier1996-08-28 01:59:28 +0000
commit105409746499657acdffc109db9d343b464bda1f (patch)
treead73a9b45b4500ddedb5b7d18edcf90ec7cb35c5 /src/include/utils/fmgrtab.h
parentca405ae4bf50a0074cf6e7ffb4873d5c9a861403 (diff)
More cleanups of the include files
- centralizing to simplify the -I's required to compile
Diffstat (limited to 'src/include/utils/fmgrtab.h')
-rw-r--r--src/include/utils/fmgrtab.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/include/utils/fmgrtab.h b/src/include/utils/fmgrtab.h
new file mode 100644
index 00000000000..8fe5547b547
--- /dev/null
+++ b/src/include/utils/fmgrtab.h
@@ -0,0 +1,29 @@
+/*-------------------------------------------------------------------------
+ *
+ * fmgrtab.h--
+ *
+ *
+ *
+ * Copyright (c) 1994, Regents of the University of California
+ *
+ * $Id: fmgrtab.h,v 1.1 1996/08/28 01:58:59 scrappy Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef FMGRTAB_H
+#define FMGRTAB_H
+
+#include "postgres.h" /* for ObjectId */
+#include "fmgr.h" /* genearated by Gen_fmgrtab.sh */
+
+typedef struct {
+ Oid proid;
+ uint16 nargs;
+ func_ptr func;
+ char* funcName;
+} FmgrCall;
+
+extern FmgrCall *fmgr_isbuiltin(Oid id);
+extern func_ptr fmgr_lookupByName(char* name);
+
+#endif /* FMGRTAB_H */