mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
484 B
Plaintext
22 lines
484 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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]}}`
|