dbTalk Databases Forums  

Re: Any decent tutorials for PlPerl?

comp.databases.postgresql comp.databases.postgresql


Discuss Re: Any decent tutorials for PlPerl? in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jochen Lutz
 
Posts: n/a

Default Re: Any decent tutorials for PlPerl? - 11-12-2009 , 05:35 PM






Laurenz Albe <invite (AT) spam (DOT) to.invalid> wrote:
Quote:
I may be wrong, but looking at the documentation of DBD::PgSPI I get
the impression that its only use is to access the database in
which the function is running.
This ist exactly the use of DBD::PgSPI - and doing so in the usual way
you access databases in perl.

Quote:
That would explain the age and the condition of it - you don't need
it at all.

All you need are the spi_* functions, see
http://www.postgresql.org/docs/curre...-database.html
DBD::PgSPI is just a wrapper around these functions. As this functions
didn't change, there's no need to change DBD::PgSPI.

As a hint to the OPs problem: this is a perl build problem, try to fix
the Makefile.pl and point it to the postgres include directory.


Jochen

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.