@@ -596,37 +596,37 @@ DefineType(List *names, List *parameters)
596
596
/* alignment must be 'i' or 'd' for arrays */
597
597
alignment = (alignment == 'd' ) ?'d' :'i' ;
598
598
599
- typoid = TypeCreate (array_oid ,/* force assignment of this type OID */
600
- array_type ,/* type name */
601
- typeNamespace ,/* namespace */
602
- InvalidOid ,/* relation oid (n/a here) */
603
- 0 ,/* relation kind (ditto) */
604
- GetUserId (),/* owner's ID */
605
- -1 ,/* internal size (always varlena) */
606
- TYPTYPE_BASE ,/* type-type (base type) */
607
- TYPCATEGORY_ARRAY ,/* type-category (array) */
608
- false,/* array types are never preferred */
609
- delimiter ,/* array element delimiter */
610
- F_ARRAY_IN ,/* input procedure */
611
- F_ARRAY_OUT ,/* output procedure */
612
- F_ARRAY_RECV ,/* receive procedure */
613
- F_ARRAY_SEND ,/* send procedure */
614
- typmodinOid ,/* typmodin procedure */
615
- typmodoutOid ,/* typmodout procedure */
616
- F_ARRAY_TYPANALYZE ,/* analyze procedure */
617
- typoid ,/* element type ID */
618
- true,/* yes this is an array type */
619
- InvalidOid ,/* no further array type */
620
- InvalidOid ,/* base type ID */
621
- NULL ,/* never a default type value */
622
- NULL ,/* binary default isn't sent either */
623
- false,/* never passed by value */
624
- alignment ,/* see above */
625
- 'x' ,/* ARRAY is always toastable */
626
- -1 ,/* typMod (Domains only) */
627
- 0 ,/* Array dimensions of typbasetype */
628
- false,/* Type NOT NULL */
629
- collation );/* type's collation */
599
+ TypeCreate (array_oid ,/* force assignment of this type OID */
600
+ array_type ,/* type name */
601
+ typeNamespace ,/* namespace */
602
+ InvalidOid ,/* relation oid (n/a here) */
603
+ 0 ,/* relation kind (ditto) */
604
+ GetUserId (),/* owner's ID */
605
+ -1 ,/* internal size (always varlena) */
606
+ TYPTYPE_BASE ,/* type-type (base type) */
607
+ TYPCATEGORY_ARRAY ,/* type-category (array) */
608
+ false,/* array types are never preferred */
609
+ delimiter ,/* array element delimiter */
610
+ F_ARRAY_IN ,/* input procedure */
611
+ F_ARRAY_OUT ,/* output procedure */
612
+ F_ARRAY_RECV ,/* receive procedure */
613
+ F_ARRAY_SEND ,/* send procedure */
614
+ typmodinOid ,/* typmodin procedure */
615
+ typmodoutOid ,/* typmodout procedure */
616
+ F_ARRAY_TYPANALYZE ,/* analyze procedure */
617
+ typoid ,/* element type ID */
618
+ true,/* yes this is an array type */
619
+ InvalidOid ,/* no further array type */
620
+ InvalidOid ,/* base type ID */
621
+ NULL ,/* never a default type value */
622
+ NULL ,/* binary default isn't sent either */
623
+ false,/* never passed by value */
624
+ alignment ,/* see above */
625
+ 'x' ,/* ARRAY is always toastable */
626
+ -1 ,/* typMod (Domains only) */
627
+ 0 ,/* Array dimensions of typbasetype */
628
+ false,/* Type NOT NULL */
629
+ collation );/* type's collation */
630
630
631
631
pfree (array_type );
632
632