Commit 3baa7e38 authored by Peter Eisentraut's avatar Peter Eisentraut

pg_dump: Unbreak dumping of aggregates from very old server versions

Recently broken by d9fa17aa.
parent 47d4d0cf
......@@ -14088,7 +14088,7 @@ dumpAgg(Archive *fout, AggInfo *agginfo)
"aggsortop, "
"'n' AS aggkind, "
"0 AS aggtransspace, agginitval, "
"0 AS aggmtransspace, NULL AS aggminitval, "
"0 AS aggmtransspace, NULL AS aggminitval "
"FROM pg_catalog.pg_aggregate a, pg_catalog.pg_proc p "
"WHERE a.aggfnoid = p.oid "
"AND p.oid = '%u'::pg_catalog.oid",
......@@ -14107,7 +14107,7 @@ dumpAgg(Archive *fout, AggInfo *agginfo)
"0 AS aggsortop, "
"'n' AS aggkind, "
"0 AS aggtransspace, agginitval, "
"0 AS aggmtransspace, NULL AS aggminitval, "
"0 AS aggmtransspace, NULL AS aggminitval "
"FROM pg_catalog.pg_aggregate a, pg_catalog.pg_proc p "
"WHERE a.aggfnoid = p.oid "
"AND p.oid = '%u'::pg_catalog.oid",
......
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