From 08c8058ce90cf4b2644cabfa7e5f66e9da8ddd7d Mon Sep 17 00:00:00 2001
From: Robert Haas <rhaas@postgresql.org>
Date: Mon, 8 Oct 2012 10:15:15 -0400
Subject: [PATCH] Add #define for UUIDOID.

Phil Sorber and Thom Brown. Reviewed by Albe Laurenz.
---
 src/include/catalog/pg_type.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/include/catalog/pg_type.h b/src/include/catalog/pg_type.h
index 86be9983e93..d0fe7c5399f 100644
--- a/src/include/catalog/pg_type.h
+++ b/src/include/catalog/pg_type.h
@@ -573,6 +573,7 @@ DATA(insert OID = 2211 ( _regtype	   PGNSP PGUID -1 f b A f t \054 0 2206 0 arra
 /* uuid */
 DATA(insert OID = 2950 ( uuid			PGNSP PGUID 16 f b U f t \054 0 0 2951 uuid_in uuid_out uuid_recv uuid_send - - - c p f 0 -1 0 0 _null_ _null_ _null_ ));
 DESCR("UUID datatype");
+#define UUIDOID 2950
 DATA(insert OID = 2951 ( _uuid			PGNSP PGUID -1 f b A f t \054 0 2950 0 array_in array_out array_recv array_send - - array_typanalyze i x f 0 -1 0 0 _null_ _null_ _null_ ));
 
 /* text search */
-- 
GitLab