From 5d2fdf6e6d0aa397eee8b5946ba705917e5bf695 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 24 Apr 2002 02:12:53 +0000 Subject: 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 --- src/include/c.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/c.h') 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) */ -- cgit v1.2.3