Commit f24fa9c1 authored by Tom Lane's avatar Tom Lane

Fix pg_dump's dump order for collations versus extensions.

Mixing them together alphabetically won't be nice.  Per my gripe of
2011-02-12.
parent a8a8a3e0
...@@ -68,35 +68,35 @@ static const int oldObjectTypePriority[] = ...@@ -68,35 +68,35 @@ static const int oldObjectTypePriority[] =
static const int newObjectTypePriority[] = static const int newObjectTypePriority[] =
{ {
1, /* DO_NAMESPACE */ 1, /* DO_NAMESPACE */
3, /* DO_EXTENSION */ 4, /* DO_EXTENSION */
4, /* DO_TYPE */ 5, /* DO_TYPE */
4, /* DO_SHELL_TYPE */ 5, /* DO_SHELL_TYPE */
5, /* DO_FUNC */ 6, /* DO_FUNC */
6, /* DO_AGG */ 7, /* DO_AGG */
7, /* DO_OPERATOR */ 8, /* DO_OPERATOR */
8, /* DO_OPCLASS */ 9, /* DO_OPCLASS */
8, /* DO_OPFAMILY */ 9, /* DO_OPFAMILY */
10, /* DO_CONVERSION */ 11, /* DO_CONVERSION */
17, /* DO_TABLE */ 18, /* DO_TABLE */
19, /* DO_ATTRDEF */ 20, /* DO_ATTRDEF */
24, /* DO_INDEX */ 25, /* DO_INDEX */
25, /* DO_RULE */ 26, /* DO_RULE */
26, /* DO_TRIGGER */ 27, /* DO_TRIGGER */
23, /* DO_CONSTRAINT */ 24, /* DO_CONSTRAINT */
27, /* DO_FK_CONSTRAINT */ 28, /* DO_FK_CONSTRAINT */
2, /* DO_PROCLANG */ 2, /* DO_PROCLANG */
9, /* DO_CAST */ 10, /* DO_CAST */
21, /* DO_TABLE_DATA */ 22, /* DO_TABLE_DATA */
18, /* DO_DUMMY_TYPE */ 19, /* DO_DUMMY_TYPE */
11, /* DO_TSPARSER */ 12, /* DO_TSPARSER */
13, /* DO_TSDICT */ 14, /* DO_TSDICT */
12, /* DO_TSTEMPLATE */ 13, /* DO_TSTEMPLATE */
14, /* DO_TSCONFIG */ 15, /* DO_TSCONFIG */
15, /* DO_FDW */ 16, /* DO_FDW */
16, /* DO_FOREIGN_SERVER */ 17, /* DO_FOREIGN_SERVER */
28, /* DO_DEFAULT_ACL */ 29, /* DO_DEFAULT_ACL */
20, /* DO_BLOB */ 21, /* DO_BLOB */
22, /* DO_BLOB_DATA */ 23, /* DO_BLOB_DATA */
3 /* DO_COLLATION */ 3 /* DO_COLLATION */
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment