From 65d27324c3fbc17dafdfd54c9d3ff3d4ad90ca36 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 9 Jun 2005 18:15:05 +0000 Subject: [PATCH] Add example for pg_config --configure. --- doc/src/sgml/ref/pg_config-ref.sgml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) 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 -- 2.11.0