diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-02-03 23:39:21 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-02-03 23:39:21 +0000 |
commit | a7bbb6cd53b55fcbb040b93d336264a38035744b (patch) | |
tree | 51e753204d69b84d35ac57d5cc6c98c96858efcc /src | |
parent | c8460d571e72c47c3a82f74b16d6b4d81154049f (diff) | |
download | postgresql-a7bbb6cd53b55fcbb040b93d336264a38035744b.tar.gz postgresql-a7bbb6cd53b55fcbb040b93d336264a38035744b.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_dump/pg_dump_sort.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_dump_sort.c b/src/bin/pg_dump/pg_dump_sort.c index d3cf8f33f98..6be23f9a921 100644 --- a/src/bin/pg_dump/pg_dump_sort.c +++ b/src/bin/pg_dump/pg_dump_sort.c @@ -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 */ |