2026 PostgreSQL 18.7: Is Parallel pg_dump on a Standby Still Safe?

2026 PostgreSQL 18.7: Is Parallel pg_dump on a Standby Still Safe?

Upgrade the PostgreSQL 18.7 server running on the standby before resuming parallel pg_dump there; updating only the client is not the fix. This applies to teams that direct parallel exports at a PostgreSQL hot standby: PostgreSQL’s 18.7 release notes confirm a fix for standby snapshot export behavior, and warn that parallel pg_dump on a standby could affect both the dump and standby data (PostgreSQL 18.7 release notes, official release announcement).

DBAs maintaining PostgreSQL 18 standbys should verify the server patch level and identify every backup task that targets a standby.
Engineers responsible for backup automation should check scripts, schedulers, and the destination selected by each job.
Technical leads preparing to promote a standby should treat historical dump validation as a separate task from installing the fix.

The PostgreSQL 18.7 fix and its scope

The official release notes state that PostgreSQL 18.7 fixes an issue with exporting snapshots on a standby. They also identify a risk in the parallel pg_dump standby scenario: the problem could affect the export and the standby’s data. The release announcement dates PostgreSQL 18.7 to November 12, 2026 (release notes, release announcement).

That is the confirmed scope to use when making an immediate operational decision. Do not interpret the patch as proof that every earlier dump is valid, or that an affected standby’s historical state has been repaired. The release fixes the software behavior; it does not retrospectively test files or certify data.

Also distinguish the server from the client. pg_dump connects to a PostgreSQL server. Replacing the installed client binary does not update the server process that handles the connection or fix its standby snapshot behavior. Verify the server version on the host receiving the connection.

Parallel mode matters because pg_dump -j uses multiple concurrent connections and is supported with the directory output format. PostgreSQL documents these options and their behavior in the pg_dump reference. The specific concern here is not a generic warning against all parallel exports: it is the combination of a potentially affected server and a parallel dump directed at a standby.

Choosing a safe backup route

Use the table to choose an interim path while you verify and patch. These risk labels are operational guidance, not measured probabilities.

Backup route What to check Interim decision Relative operational risk
Parallel export to a standby not yet patched Confirm the connected server’s version and job destination Pause parallel exports to that standby; patch it through the normal maintenance process High until checked
Non-parallel export to a standby Confirm the exact command, server version, and workload conditions Consider only as a temporary alternative after assessing standby and backup-window impact Needs assessment
Export redirected to the primary Check primary workload, connection load, and the backup window Use only if the primary can safely absorb the added work Needs assessment
Parallel export to a patched standby Confirm that the server—not just the client—is running a version containing the fix Resume only after your normal change checks; separately validate older dumps Lower for the fixed issue, not a validation result

Do not switch all jobs to the primary automatically. That can transfer backup work to the production database and affect its workload. Nor should you assume that turning off parallel mode is harmless: it changes the backup’s execution pattern and may affect how long the job runs. Check the available backup window and the server’s current load before changing the route.

The PostgreSQL documentation explains that dump formats and options have different restore and parallelization characteristics. Review the pg_dump documentation alongside the dump backup and restore guide before changing the output format or restore procedure.

A client-only update does not fix the standby

The repair decision is about the PostgreSQL server receiving the connection. A newer client may provide client-side fixes or features, but it does not patch an older standby server. Confirm both ends of the connection, then use the server version as the deciding check for this issue.

Start by running a version check against the actual connection endpoint, not an administrator’s default local database. For example:

SELECT version();
SELECT pg_is_in_recovery();

The first query reports the connected server version. The second indicates whether that connection is to a server still in recovery, which helps distinguish a standby from a promoted primary. Run the checks through the same host, port, service name, or connection string used by the backup job. A check against the primary does not establish the standby’s version.

When a job uses a proxy, a DNS alias, or a service-discovery name, record where that name resolves during the scheduled run. If you cannot reliably establish which server handled an old job, preserve the uncertainty in the incident record rather than assuming it went to the primary or standby.

Auditing scheduled parallel exports

Treat this as a destination-and-command audit. A script may hide the target in a variable or environment file, and a scheduler entry may call a wrapper rather than pg_dump directly.

  1. List backup entry points. Review cron entries, systemd timers, backup-platform schedules, container definitions, and orchestration jobs. Include scripts that call another script.
  2. Search for dump commands and options. Look for pg_dump, -j, --jobs, and directory-format output. PostgreSQL documents -j as the parallel jobs option and describes the format constraints in its command reference.
  3. Trace connection settings. Follow variables such as PGHOST, service-file entries, connection strings, and DNS aliases. Avoid printing passwords into shared logs or incident notes.
  4. Match each destination to a role. Connect to the configured endpoint and check pg_is_in_recovery() and the server version. Do not infer the role from a hostname label alone.
  5. Review logs and run history. Record the start time, endpoint, server version if logged, command options, output file location, and completion status. A successful exit status or a file on disk does not prove that the dump can be restored.
  6. Pause only the affected route. If a scheduled parallel dump targets an unpatched standby, stop or reroute that job while you assess the primary’s capacity and the available backup window.
  7. Track the change and the proof separately. Record when the standby was patched, when parallel exports resumed, and which older dumps were restored and checked.

This audit should include backup automation owned by another team. A central scheduler may call a local wrapper, while a standby may be addressed through an alias that is shared with other jobs. Follow the full path from schedule to connection endpoint before declaring the exposure closed.

Validating old standby dumps after an upgrade

Upgrade status and backup recoverability are separate questions. PostgreSQL 18.7 does not automatically inspect old dump files, repair them, or confirm that their contents are complete. The official fix is not a substitute for restoring a representative backup.

Choose important historical dumps from the potentially affected period and restore them in an isolated environment. Use a restore procedure appropriate to the dump format, then check that the restore completes and that key database objects and business-critical data are present. PostgreSQL’s backup and restore documentation describes the supported dump and restore workflow.

A useful validation record includes:

Do not label every historical file as damaged merely because it may have been produced by an affected route. Equally, do not mark it safe because the job completed or the file size looks plausible. If a representative restore raises a consistency concern, involve the DBA responsible for the relevant data and define a scoped integrity check before rebuilding or resynchronizing anything.

If an affected standby was promoted, assess it as a separate case. Record when it was promoted, which backups were taken from it, and what replication chain followed. A promoted node is no longer simply a standby that can be evaluated by checking its current recovery state. If there are doubts about data consistency, avoid automatic repair or rebuild actions until you have confirmed dependencies and viable recovery copies.

Embedding patch checks and restore proof in the runbook

The immediate repair and the long-term control should be linked but not conflated. Add checks for the connected server version, the destination role, parallel export options, job logs, and restore-test records to the backup runbook. Recheck the official PostgreSQL release notes for later minor releases or updated guidance before a future maintenance window; the version and correction discussed here are tied to the PostgreSQL 18.7 release notes.

Keep a copy of database backups outside the machine that runs the database. Replication can help maintain another live copy, but it does not replace an independent backup. A software RAID mirror can help with disk availability, but it also does not replace an off-machine copy. Schedule restore exercises and record what was actually restored; do not treat file existence as recovery evidence.

When a dedicated database server helps—and when it does not

A dedicated server may make sense when database and backup workloads need predictable access to CPU, memory, and local NVMe, and your team can operate PostgreSQL, manage replication, and test restores. It does not provide automatic backups, managed database operations, or data repair. If you need only a short-lived environment or cannot own database maintenance, a managed database or a smaller shared instance may be a better fit.

Shared cloud instances can have resource contention, CPU allocation limits, or storage performance and usage charges that complicate sustained database workloads. A dedicated machine gives one tenant the whole server, but it also places patching, monitoring, backup design, and recovery testing with your team. We recommend comparing the product’s actual listed resources with your workload before treating a server rental as a database solution.

HttpAmd’s listed server options include an AMD EPYC 7543P with 32 cores and 64 threads, 128 GB or 256 GB of DDR4-3200 ECC memory, and two directly connected 1 TB NVMe drives. There is no hardware RAID; you must configure software redundancy or replication yourself, and keep backups off the machine. The product information also lists Linux access over SSH and PostgreSQL-compatible Linux choices. Check the current server specifications and pricing before planning a deployment, as those are infrastructure options—not a backup or high-availability service.

If you have verified that your team can run the database and conduct isolated restore tests, compare the required memory, storage layout, and replication plan with the available HttpAmd server options. If you cannot provide an independent backup and a recovery procedure, resolve that gap before moving a production database; renting a dedicated server will not validate old dumps or repair affected data.

Further reading

Give Your PostgreSQL Workloads Dedicated Headroom

Run PostgreSQL dump validation and recovery checks on an HttpAmd dedicated server with 32 cores and 64 threads.

Review the server specifications

Compare the memory, direct-attached NVMe, bandwidth, and IPv4 specifications, then confirm the amount due for the current billing period on the configuration page.