]> granicus.if.org Git - postgresql/commitdiff
Define LSNOID in pg_type.h.
authorRobert Haas <rhaas@postgresql.org>
Mon, 3 Mar 2014 12:03:41 +0000 (07:03 -0500)
committerRobert Haas <rhaas@postgresql.org>
Mon, 3 Mar 2014 12:03:41 +0000 (07:03 -0500)
Most other built-in types have a similarly-named constant, so this
type should probably have one, too.

Michael Paquier

src/include/catalog/pg_type.h

index 8ea9ceb1b809602cfce516cbc2d13180857d7ec3..4c060f54b334de18b9da9f052fb8793296429878 100644 (file)
@@ -580,6 +580,7 @@ DATA(insert OID = 2951 ( _uuid                      PGNSP PGUID -1 f b A f t \054 0 2950 0 array_in
 /* pg_lsn */
 DATA(insert OID = 3220 ( pg_lsn                        PGNSP PGUID 8 FLOAT8PASSBYVAL b U t t \054 0 0 3221 pg_lsn_in pg_lsn_out pg_lsn_recv pg_lsn_send - - - d p f 0 -1 0 0 _null_ _null_ _null_ ));
 DESCR("PostgreSQL LSN datatype");
+#define LSNOID                 3220
 DATA(insert OID = 3221 ( _pg_lsn                       PGNSP PGUID -1 f b A f t \054 0 3220 0 array_in array_out array_recv array_send - - array_typanalyze d x f 0 -1 0 0 _null_ _null_ _null_ ));
 
 /* text search */