12
12
* by PostgreSQL
13
13
*
14
14
* IDENTIFICATION
15
- * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.498 2008/07/30 17:05:04 tgl Exp $
15
+ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.499 2008/07/30 19:35:13 tgl Exp $
16
16
*
17
17
*-------------------------------------------------------------------------
18
18
*/
@@ -5780,7 +5780,7 @@ dumpBaseType(Archive *fout, TypeInfo *tinfo)
5780
5780
"typmodin::pg_catalog.oid as typmodinoid, "
5781
5781
"typmodout::pg_catalog.oid as typmodoutoid, "
5782
5782
"typanalyze::pg_catalog.oid as typanalyzeoid, "
5783
- "'U' as typcategory, true as typispreferred, "
5783
+ "'U' as typcategory, false as typispreferred, "
5784
5784
"typdelim, typbyval, typalign, typstorage, "
5785
5785
"pg_catalog.pg_get_expr(typdefaultbin, 'pg_catalog.pg_type'::pg_catalog.regclass) as typdefaultbin, typdefault "
5786
5786
"FROM pg_catalog.pg_type "
@@ -5799,7 +5799,7 @@ dumpBaseType(Archive *fout, TypeInfo *tinfo)
5799
5799
"typsend::pg_catalog.oid as typsendoid, "
5800
5800
"0 as typmodinoid, 0 as typmodoutoid, "
5801
5801
"typanalyze::pg_catalog.oid as typanalyzeoid, "
5802
- "'U' as typcategory, true as typispreferred, "
5802
+ "'U' as typcategory, false as typispreferred, "
5803
5803
"typdelim, typbyval, typalign, typstorage, "
5804
5804
"pg_catalog.pg_get_expr(typdefaultbin, 'pg_catalog.pg_type'::pg_catalog.regclass) as typdefaultbin, typdefault "
5805
5805
"FROM pg_catalog.pg_type "
@@ -5818,7 +5818,7 @@ dumpBaseType(Archive *fout, TypeInfo *tinfo)
5818
5818
"typsend::pg_catalog.oid as typsendoid, "
5819
5819
"0 as typmodinoid, 0 as typmodoutoid, "
5820
5820
"0 as typanalyzeoid, "
5821
- "'U' as typcategory, true as typispreferred, "
5821
+ "'U' as typcategory, false as typispreferred, "
5822
5822
"typdelim, typbyval, typalign, typstorage, "
5823
5823
"pg_catalog.pg_get_expr(typdefaultbin, 'pg_catalog.pg_type'::pg_catalog.regclass) as typdefaultbin, typdefault "
5824
5824
"FROM pg_catalog.pg_type "
@@ -5837,7 +5837,7 @@ dumpBaseType(Archive *fout, TypeInfo *tinfo)
5837
5837
"0 as typreceiveoid, 0 as typsendoid, "
5838
5838
"0 as typmodinoid, 0 as typmodoutoid, "
5839
5839
"0 as typanalyzeoid, "
5840
- "'U' as typcategory, true as typispreferred, "
5840
+ "'U' as typcategory, false as typispreferred, "
5841
5841
"typdelim, typbyval, typalign, typstorage, "
5842
5842
"pg_catalog.pg_get_expr(typdefaultbin, 'pg_catalog.pg_type'::pg_catalog.regclass) as typdefaultbin, typdefault "
5843
5843
"FROM pg_catalog.pg_type "
@@ -5860,7 +5860,7 @@ dumpBaseType(Archive *fout, TypeInfo *tinfo)
5860
5860
"0 as typreceiveoid, 0 as typsendoid, "
5861
5861
"0 as typmodinoid, 0 as typmodoutoid, "
5862
5862
"0 as typanalyzeoid, "
5863
- "'U' as typcategory, true as typispreferred, "
5863
+ "'U' as typcategory, false as typispreferred, "
5864
5864
"typdelim, typbyval, typalign, typstorage, "
5865
5865
"NULL as typdefaultbin, typdefault "
5866
5866
"FROM pg_type "
@@ -5883,7 +5883,7 @@ dumpBaseType(Archive *fout, TypeInfo *tinfo)
5883
5883
"0 as typreceiveoid, 0 as typsendoid, "
5884
5884
"0 as typmodinoid, 0 as typmodoutoid, "
5885
5885
"0 as typanalyzeoid, "
5886
- "'U' as typcategory, true as typispreferred, "
5886
+ "'U' as typcategory, false as typispreferred, "
5887
5887
"typdelim, typbyval, typalign, typstorage, "
5888
5888
"NULL as typdefaultbin, NULL as typdefault "
5889
5889
"FROM pg_type "
@@ -5902,7 +5902,7 @@ dumpBaseType(Archive *fout, TypeInfo *tinfo)
5902
5902
"0 as typreceiveoid, 0 as typsendoid, "
5903
5903
"0 as typmodinoid, 0 as typmodoutoid, "
5904
5904
"0 as typanalyzeoid, "
5905
- "'U' as typcategory, true as typispreferred, "
5905
+ "'U' as typcategory, false as typispreferred, "
5906
5906
"typdelim, typbyval, typalign, "
5907
5907
"'p'::char as typstorage, "
5908
5908
"NULL as typdefaultbin, NULL as typdefault "
@@ -6022,8 +6022,8 @@ dumpBaseType(Archive *fout, TypeInfo *tinfo)
6022
6022
appendStringLiteralAH (q , typcategory , fout );
6023
6023
}
6024
6024
6025
- if (strcmp (typispreferred , "f " ) == 0 )
6026
- appendPQExpBuffer (q , ",\n PREFERRED = false " );
6025
+ if (strcmp (typispreferred , "t " ) == 0 )
6026
+ appendPQExpBuffer (q , ",\n PREFERRED = true " );
6027
6027
6028
6028
if (typdelim && strcmp (typdelim , "," ) != 0 )
6029
6029
{
0 commit comments