Thread: back out configure options

back out configure options

From
zhong ming wu
Date:
Is there a way to figure out from binaries what options were used to
compile/config?  For example with apache I can do "httpd -l"

Thanks

mr. wu

Re: back out configure options

From
Greg Smith
Date:
zhong ming wu wrote:
> Is there a way to figure out from binaries what options were used to
> compile/config?  For example with apache I can do "httpd -l"
>
pg_config is what you're looking for.

In some distributions, this may not be installed by default with the
rest of the server.  For example, in the RPM version you need the
postgresql-devel package to have it available.

--
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com  www.2ndQuadrant.com


Re: back out configure options

From
zhong ming wu
Date:
Thanks.  That works nicely.

On Tue, Jan 26, 2010 at 8:00 PM, Greg Smith <greg@2ndquadrant.com> wrote:
> zhong ming wu wrote:
>>
>> Is there a way to figure out from binaries what options were used to
>> compile/config?  For example with apache I can do "httpd -l"
>>
>
> pg_config is what you're looking for.
>
> In some distributions, this may not be installed by default with the rest of
> the server.  For example, in the RPM version you need the postgresql-devel
> package to have it available.
>
> --
> Greg Smith    2ndQuadrant   Baltimore, MD
> PostgreSQL Training, Services and Support
> greg@2ndQuadrant.com  www.2ndQuadrant.com
>
>