View Single Post

   
  #1 (permalink)  
Old 04-11-2008, 06:38 AM
Dave Page
 
Posts: n/a
Default Re: Testing for a shared library



> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org
> [mailtogsql-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.

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply With Quote