anyarray really needs to be declared with typalign = 'd', so that entries
authorTom Lane <[email protected]>
Tue, 24 Feb 2004 22:59:22 +0000 (22:59 +0000)
committerTom Lane <[email protected]>
Tue, 24 Feb 2004 22:59:22 +0000 (22:59 +0000)
in pg_statistic are correctly aligned if they contain values that require
double alignment.  Too bad we cannot force initdb for this in 7.4 branch.

src/include/catalog/pg_type.h

index 75c491011947a131b29620839dd15d41f0aeb4c1..ce905af98fb30b31e1f5ba3485a8829b98657dae 100644 (file)
@@ -525,7 +525,7 @@ DATA(insert OID = 2275 ( cstring            PGNSP PGUID -2 f p t \054 0 0 cstring_in cstri
 #define CSTRINGOID             2275
 DATA(insert OID = 2276 ( any                   PGNSP PGUID  4 t p t \054 0 0 any_in any_out - -        i p f 0 -1 0 _null_ _null_ ));
 #define ANYOID                 2276
-DATA(insert OID = 2277 ( anyarray              PGNSP PGUID -1 f p t \054 0 0 anyarray_in anyarray_out anyarray_recv anyarray_send      i x f 0 -1 0 _null_ _null_ ));
+DATA(insert OID = 2277 ( anyarray              PGNSP PGUID -1 f p t \054 0 0 anyarray_in anyarray_out anyarray_recv anyarray_send      d x f 0 -1 0 _null_ _null_ ));
 #define ANYARRAYOID            2277
 DATA(insert OID = 2278 ( void                  PGNSP PGUID  4 t p t \054 0 0 void_in void_out - -      i p f 0 -1 0 _null_ _null_ ));
 #define VOIDOID                        2278