summaryrefslogtreecommitdiff
path: root/src/include/c.h
diff options
context:
space:
mode:
authorBruce Momjian2002-04-24 02:12:53 +0000
committerBruce Momjian2002-04-24 02:12:53 +0000
commit5d2fdf6e6d0aa397eee8b5946ba705917e5bf695 (patch)
tree72535777186fc1c8a1234ec35c9540e963b1703a /src/include/c.h
parentbe9728acf1395ee45d82aa1e922570a82f9d040f (diff)
Here's a patch to add unknownin/unknownout support. I also poked around
looking for places that assume UNKNOWN == TEXT. One of those was the "SET" type in pg_type.h, which was using textin/textout. This one I took care of in this patch. The other suspicious place was in string_to_dataum (which is defined in both selfuncs.c and indxpath.c). I wasn't too sure about those, so I left them be. Joe Conway
Diffstat (limited to 'src/include/c.h')
-rw-r--r--src/include/c.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h
index f01d2047463..40abf99aecf 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: c.h,v 1.117 2002/04/23 15:45:30 tgl Exp $
+ * $Id: c.h,v 1.118 2002/04/24 02:12:53 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -404,6 +404,7 @@ struct varlena
*/
typedef struct varlena bytea;
typedef struct varlena text;
+typedef struct varlena unknown;
typedef struct varlena BpChar; /* blank-padded char, ie SQL char(n) */
typedef struct varlena VarChar; /* var-length char, ie SQL varchar(n) */