mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 11:58:15 +00:00
Update cheatsheets
This commit is contained in:
37
tldr/pg_config
Normal file
37
tldr/pg_config
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pg_config
|
||||
|
||||
> Display information about the installed PostgreSQL version.
|
||||
> More information: <https://www.postgresql.org/docs/current/app-pgconfig.html>.
|
||||
|
||||
- Show the directory where PostgreSQL binaries are installed:
|
||||
|
||||
`pg_config --bindir`
|
||||
|
||||
- Show the directory for library files:
|
||||
|
||||
`pg_config --libdir`
|
||||
|
||||
- Show the directory for include files (C headers):
|
||||
|
||||
`pg_config --includedir`
|
||||
|
||||
- Show the directory for shared data files:
|
||||
|
||||
`pg_config --sharedir`
|
||||
|
||||
- Show the directory for locale data:
|
||||
|
||||
`pg_config --localedir`
|
||||
|
||||
- Display help:
|
||||
|
||||
`pg_config {{[-?|--help]}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
`pg_config --version`
|
||||
Reference in New Issue
Block a user