Fix minor thinko in logic to set dump order when dumping from a pre-7.3
authorTom Lane <[email protected]>
Thu, 3 Feb 2005 23:39:21 +0000 (23:39 +0000)
committerTom Lane <[email protected]>
Thu, 3 Feb 2005 23:39:21 +0000 (23:39 +0000)
database: aggregates should be dumped in the same pass as operators,
not in the same pass as functions.

src/bin/pg_dump/pg_dump_sort.c

index d3cf8f33f9804633f582cf3591a7916b72fea7ab..6be23f9a92103ff92d18edd26256704850008565 100644 (file)
@@ -9,7 +9,7 @@
  *
  *
  * 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.8.4.1 2005/02/03 23:39:21 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -30,7 +30,7 @@ static const int oldObjectTypePriority[] =
    1,                          /* DO_NAMESPACE */
    2,                          /* DO_TYPE */
    2,                          /* DO_FUNC */
-   2,                          /* DO_AGG */
+   3,                          /* DO_AGG */
    3,                          /* DO_OPERATOR */
    4,                          /* DO_OPCLASS */
    5,                          /* DO_CONVERSION */