ahprintf(AH, "--\n-- PostgreSQL database dump\n--\n\n");
+ if (AH->archiveRemoteVersion)
+ ahprintf(AH, "-- Dumped from database version %s\n",
+ AH->archiveRemoteVersion);
+ if (AH->archiveDumpVersion)
+ ahprintf(AH, "-- Dumped by pg_dump version %s\n",
+ AH->archiveDumpVersion);
+
+ ahprintf(AH, "\n");
+
if (AH->public.verbose)
- {
- if (AH->archiveRemoteVersion)
- ahprintf(AH, "-- Dumped from database version %s\n",
- AH->archiveRemoteVersion);
- if (AH->archiveDumpVersion)
- ahprintf(AH, "-- Dumped by pg_dump version %s\n",
- AH->archiveDumpVersion);
dumpTimestamp(AH, "Started on", AH->createDate);
- }
if (ropt->single_txn)
{