HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pg_controldata — Display control information of a PostgreSQL database cluster. More information: <https://www.postgre

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commanddatabaseclipg_controldatainformationcontrolpostgresqldisplay

Problem

How to use the pg_controldata command: Display control information of a PostgreSQL database cluster. More information: <https://www.postgresql.org/docs/current/app-pgcontroldata.html>.

Solution

pg_controldata — Display control information of a PostgreSQL database cluster. More information: <https://www.postgresql.org/docs/current/app-pgcontroldata.html>.

Display control information for a specific data directory:
pg_controldata {{[-D|--pgdata]}} {{path/to/data}}


Display help:
pg_controldata {{[-?|--help]}}


Display version:
pg_controldata {{[-V|--version]}}

Code Snippets

Display control information for a specific data directory

pg_controldata {{[-D|--pgdata]}} {{path/to/data}}

Display help

pg_controldata {{[-?|--help]}}

Display version

pg_controldata {{[-V|--version]}}

Context

tldr-pages: common/pg_controldata

Revisions (0)

No revisions yet.