--- src/pl/plpgsql/src/plpgsql.h.orig	Wed Oct  4 03:30:14 2006
+++ src/pl/plpgsql/src/plpgsql.h	Thu Feb  1 14:41:29 2007
@@ -61,7 +61,8 @@
  */
 enum
 {
-	PLPGSQL_TTYPE_SCALAR,		/* scalar types and domains */
+	PLPGSQL_TTYPE_BASE,		/* scalar types and domains */
+	PLPGSQL_TTYPE_DOMAIN,		/* scalar types and domains */
 	PLPGSQL_TTYPE_ROW,			/* composite types */
 	PLPGSQL_TTYPE_REC,			/* RECORD pseudotype */
 	PLPGSQL_TTYPE_PSEUDO		/* other pseudotypes */
