Files
cheatsheet-tldr/tldr/pg_controldata
2025-10-20 00:21:08 +00:00

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]}}`