Re: Perl "with-perl" configuration option - Mailing list pgsql-general

From dj trombley
Subject Re: Perl "with-perl" configuration option
Date
Msg-id 3FDBAA9E.9030900@bumba.net
Whole thread Raw
In response to Perl "with-perl" configuration option  (John Gibson <gib@edgate.com>)
Responses Re: Perl "with-perl" configuration option  ("Keith C. Perry" <netadmin@vcsn.com>)
List pgsql-general
   No, the --with-perl option builds PL/Perl, which is server-side.  I
recommend using the module DBD::Pg for connecting to the server from a
perl script and executing queries, but there are probably other modules
as well.

> I read that the "--with-perl" option "Build the PL/Perl server-side
> language".  Does that mean the the switch is necessary to connect to
> the PostgreSQL database if you are using a perl program?
>
> It seems to me that it is only for allowing the use of perl *inside*
> of postgres and if one is just using perl programs to access the
> database from the outside this switch is not necessary.  I want to
> make sure I give the applications programmers the tools they need.
>


    Yes, but be sure to CREATE LANGUAGE in your database so you can use it.

> Also, does the PL/pgSQL server-side language get built automatically
> by default?


-dj


pgsql-general by date:

Previous
From: Josué Maldonado
Date:
Subject: Why is postgres an ORDMS
Next
From: dj trombley
Date:
Subject: Re: Foreign keys and pg_user table