summaryrefslogtreecommitdiff
path: root/src/include/fmgr.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-07-29 03:26:51 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-07-29 03:26:51 +0000
commit1ebe1da296419b07377058ffad0e75bb330de8d1 (patch)
tree1f67ea127b88b997c82e9e57ad139bece91c806c /src/include/fmgr.h
parent20f6a1e56268f490ac2ac436e199e411de430f51 (diff)
downloadpostgresql-1ebe1da296419b07377058ffad0e75bb330de8d1.tar.gz
bpchar, varchar, bytea, numeric are toastable --- if you initdb, which
I did not force. I marked numeric as compressable-but-not-move-off-able, partly to test that storage mode and partly because I've got doubts that numerics are large enough to need external storage.
Diffstat (limited to 'src/include/fmgr.h')
-rw-r--r--src/include/fmgr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/fmgr.h b/src/include/fmgr.h
index 03d13e3d4e..274f8f959d 100644
--- a/src/include/fmgr.h
+++ b/src/include/fmgr.h
@@ -11,7 +11,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: fmgr.h,v 1.8 2000/07/12 02:37:25 tgl Exp $
+ * $Id: fmgr.h,v 1.9 2000/07/29 03:26:47 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -185,6 +185,7 @@ extern struct varlena * pg_detoast_datum_copy(struct varlena * datum);
/* Macros for returning results of standard types */
+#define PG_RETURN_DATUM(x) return (x)
#define PG_RETURN_INT32(x) return Int32GetDatum(x)
#define PG_RETURN_UINT32(x) return UInt32GetDatum(x)
#define PG_RETURN_INT16(x) return Int16GetDatum(x)