From: Peter Eisentraut Date: Thu, 9 Jun 2005 18:15:05 +0000 (+0000) Subject: Add example for pg_config --configure. X-Git-Tag: REL9_0_0~10008 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=65d27324c3fbc17dafdfd54c9d3ff3d4ad90ca36;p=pg-rex%2Fsyncrep.git Add example for pg_config --configure. --- diff --git a/doc/src/sgml/ref/pg_config-ref.sgml b/doc/src/sgml/ref/pg_config-ref.sgml index ea48699eb4..db09883902 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. @@ -161,6 +161,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