diff --git a/doc/src/sgml/ref/pg_config-ref.sgml b/doc/src/sgml/ref/pg_config-ref.sgml index ea48699eb48..db09883902f 100644 --- a/doc/src/sgml/ref/pg_config-ref.sgml +++ b/doc/src/sgml/ref/pg_config-ref.sgml @@ -1,4 +1,4 @@ - + @@ -119,7 +119,7 @@ This can be used to reproduce the identical configuration, or to find out with what options a binary package was built. (Note however that binary packages often contain vendor-specific custom - patches.) + patches.) See also the examples below. @@ -160,6 +160,22 @@ + + Example + + + To reproduce the build configuration of the current PostgreSQL + installation, run the following command: + +eval ./configure `pg_config --configure` + + The output of pg_config --configure contains + shell quotation marks so arguments with spaces are represented + correctly. Therefore, using eval is required + for proper results. + + + History