diff --git a/pages/common/pg_config.md b/pages/common/pg_config.md new file mode 100644 index 00000000000000..a39a2816c0dece --- /dev/null +++ b/pages/common/pg_config.md @@ -0,0 +1,32 @@ +# pg_config + +> Display information about the installed PostgreSQL version. +> More information: . + +- 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`