Re: [GENERAL] Perl "with-perl" configuration option

2003-12-13 Thread Keith C. Perry
Quoting dj trombley <[EMAIL PROTECTED]>:

> 
>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
> 
> 
> ---(end of broadcast)---
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
> 

Just FYI...

Typically the "other" perl module is Pg.pm
(http://gborg.postgresql.org/project/pgperl/projdisplay.php).

-- 
Keith C. Perry, MS E.E.
Director of Networks & Applications
VCSN, Inc.
http://vcsn.com
 

This email account is being host by:
VCSN, Inc : http://vcsn.com

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [GENERAL] Perl "with-perl" configuration option

2003-12-13 Thread dj trombley
  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

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
   (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])