back out configure options

Поиск
Список
Период
Сортировка
Искать

back out configure options

От:
zhong ming wu <mr.z.m.wu@gmail.com>
Дата:
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

От:
Greg Smith <greg@2ndquadrant.com>
Дата:
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

От:
zhong ming wu <mr.z.m.wu@gmail.com>
Дата:
Thanks.  That works nicely.

On Tue, Jan 26, 2010 at 8:00 PM, Greg Smith  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
>
>
FAQ