1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-17 06:41:09 +03:00

Fix minor thinko in logic to set dump order when dumping from a pre-7.3

database: aggregates should be dumped in the same pass as operators,
not in the same pass as functions.
This commit is contained in:
Tom Lane
2005-02-03 23:38:58 +00:00
parent cc4f58f4cd
commit ee467c3530

View File

@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump_sort.c,v 1.8 2004/12/31 22:03:09 pgsql Exp $ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump_sort.c,v 1.9 2005/02/03 23:38:58 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -30,7 +30,7 @@ static const int oldObjectTypePriority[] =
1, /* DO_NAMESPACE */ 1, /* DO_NAMESPACE */
2, /* DO_TYPE */ 2, /* DO_TYPE */
2, /* DO_FUNC */ 2, /* DO_FUNC */
2, /* DO_AGG */ 3, /* DO_AGG */
3, /* DO_OPERATOR */ 3, /* DO_OPERATOR */
4, /* DO_OPCLASS */ 4, /* DO_OPCLASS */
5, /* DO_CONVERSION */ 5, /* DO_CONVERSION */