Re: [GENERAL] Querying libpq compile time options

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Querying libpq compile time options
Дата
Msg-id 21147.1147885153@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Querying libpq compile time options  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I thought about this.  Attached is a patch you can use to
> popen("pg_config") and then look for the thread flag to configure.  One
> idea would be to add this sample to our libpq documentation.  The
> problem with the example is popen() overhead, pg_config not in $PATH, or
> pg_config's version not matching libpq's version.

Yeah, the last point seems like a killer objection :-(.  It'd be better
to add some sort of libpq function to handle the issue.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Compression and on-disk sorting
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Compression and on-disk sorting