category STRING. Also, if UNKNOWNOID is passed in, return UNKNOWN_TYPE
not USER_TYPE.
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.33 2000/02/27 18:54:43 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.34 2000/03/11 23:19:50 tgl Exp $
*
*-------------------------------------------------------------------------
*/
break;
case (CHAROID):
+ case (NAMEOID):
case (BPCHAROID):
case (VARCHAROID):
case (TEXTOID):
case (POINTOID):
case (LSEGOID):
- case (LINEOID):
- case (BOXOID):
case (PATHOID):
- case (CIRCLEOID):
+ case (BOXOID):
case (POLYGONOID):
+ case (LINEOID):
+ case (CIRCLEOID):
result = GEOMETRIC_TYPE;
break;
result = NETWORK_TYPE;
break;
+ case (UNKNOWNOID):
+ case (InvalidOid):
+ result = UNKNOWN_TYPE;
+ break;
+
default:
result = USER_TYPE;
break;