snippetbashTip
pg_config — Display information about the installed PostgreSQL version. More information: <https://www.postgresq
Viewed 0 times
thecommandcliinformationaboutpg_configinstalleddisplay
Problem
How to use the
pg_config command: Display information about the installed PostgreSQL version. More information: <https://www.postgresql.org/docs/current/app-pgconfig.html>.Solution
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 --bindirShow the directory for library files:
pg_config --libdirShow the directory for include files (C headers):
pg_config --includedirShow the directory for shared data files:
pg_config --sharedirShow the directory for locale data:
pg_config --localedirDisplay help:
pg_config {{[-?|--help]}}Display version:
pg_config --versionCode Snippets
Show the directory where PostgreSQL binaries are installed
pg_config --bindirShow the directory for library files
pg_config --libdirShow the directory for include files (C headers)
pg_config --includedirShow the directory for shared data files
pg_config --sharedirShow the directory for locale data
pg_config --localedirContext
tldr-pages: common/pg_config
Revisions (0)
No revisions yet.