Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3baa7e3

Browse files
committed
pg_dump: Unbreak dumping of aggregates from very old server versions
Recently broken by d9fa17a.
1 parent 47d4d0c commit 3baa7e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14088,7 +14088,7 @@ dumpAgg(Archive *fout, AggInfo *agginfo)
1408814088
"aggsortop, "
1408914089
"'n' AS aggkind, "
1409014090
"0 AS aggtransspace, agginitval, "
14091-
"0 AS aggmtransspace, NULL AS aggminitval, "
14091+
"0 AS aggmtransspace, NULL AS aggminitval "
1409214092
"FROM pg_catalog.pg_aggregate a, pg_catalog.pg_proc p "
1409314093
"WHERE a.aggfnoid = p.oid "
1409414094
"AND p.oid = '%u'::pg_catalog.oid",
@@ -14107,7 +14107,7 @@ dumpAgg(Archive *fout, AggInfo *agginfo)
1410714107
"0 AS aggsortop, "
1410814108
"'n' AS aggkind, "
1410914109
"0 AS aggtransspace, agginitval, "
14110-
"0 AS aggmtransspace, NULL AS aggminitval, "
14110+
"0 AS aggmtransspace, NULL AS aggminitval "
1411114111
"FROM pg_catalog.pg_aggregate a, pg_catalog.pg_proc p "
1411214112
"WHERE a.aggfnoid = p.oid "
1411314113
"AND p.oid = '%u'::pg_catalog.oid",

0 commit comments

Comments
 (0)