Re: Testing for a shared library

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Testing for a shared library
Дата
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC9EFD@ratbert.vale-housing.co.uk
обсуждение исходный текст
Ответ на Testing for a shared library  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: Testing for a shared library  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers

> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org
> [mailto:pgsql-hackers-owner@postgresql.org] On Behalf Of
> Christopher Kings-Lynne
> Sent: 07 September 2005 09:03
> To: PostgreSQL-development
> Subject: [HACKERS] Testing for a shared library
>
> Hi,
>
> Is there any way of checking to see if a particular shared library is
> installed?
>
> eg. select is_shared_library('$libdir/tsearch2');

How well do you know the library you are looking for? You could just try
creating a function from it and seeing if it fails.

Regards, Dave.


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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Testing for a shared library
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Testing for a shared library