pg_upgrade Verified for current stable LTS

Pg Upgrade Command: Check Clusters Before Upgrading

Use for check clusters before upgrading with Pg Upgrade. Exact CLI syntax to check clusters before upgrading using Pg Upgrade.

When to use this: Use for check clusters before upgrading with Pg Upgrade.

Command Syntax

pg_upgrade -c -b <path/to/old_bin> -B <path/to/new_bin> -d <path/to/old_data> -D <path/to/new_data>

Command Breakdown

-c
Command Option
Tool-specific option used by this command invocation.
-b
Command Option
Tool-specific option used by this command invocation.
-B
Command Option
Tool-specific option used by this command invocation.
-d
Command Option
Tool-specific option used by this command invocation.
-D
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to check clusters before upgrading using Pg Upgrade.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Pg Upgrade directory