pl/Perl - Mailing list pgsql-sql

From Jeff MacDonald
Subject pl/Perl
Date
Msg-id Pine.BSF.4.21.0102211336080.16108-100000@rage.hub.org
Whole thread Raw
Responses Re: pl/Perl  (Alex Pilosov <alex@pilosoft.com>)
List pgsql-sql
Hello

Few questions about pl/perl as the docs on this are very sparse..
(i find that with our procedural language docs in general)

1: can you call other stored procedures from within pl/Perl

2: from within a pl/Perl script , can i do a select etc..  i'm assuming no, because you cannot use DBI.. but just
wondering if there is a way..
 

3: installing it.. i installed postgres 7.0.3 from ports on my fbsd system.  when i tried to install pl/perl i get
this..

cd /usr/ports/databases/postgresql7/work/postgresql-7.0.2/src/pl/plperl/
perl Makefile.pl
make

"../../../src/Makefile.global", line 135: Need an operator
"../../../src/Makefile.global", line 139: Missing dependency operator
"../../../src/Makefile.global", line 143: Need an operator
"../../../src/Makefile.global", line 144: Missing dependency operator
"../../../src/Makefile.global", line 148: Need an operator
"../../../src/Makefile.global", line 149: Need an operator
"../../../src/Makefile.global", line 150: Need an operator
"../../../src/Makefile.port", line 1: Need an operator
"../../../src/Makefile.port", line 3: Need an operator
"../../../src/Makefile.port", line 6: Need an operator
"../../../src/Makefile.port", line 8: Need an operator
"../../../src/Makefile.port", line 16: Need an operator
"../../../src/Makefile.global", line 246: Missing dependency operator
"../../../src/Makefile.global", line 247: Could not find ../../../src/Makefile.custom
"../../../src/Makefile.global", line 248: Need an operator
"../../../src/Makefile.global", line 253: Missing dependency operator
"../../../src/Makefile.global", line 255: Need an operator
"../../../src/Makefile.global", line 284: Missing dependency operator
"../../../src/Makefile.global", line 286: Need an operator
"../../../src/Makefile.global", line 288: Missing dependency operator
"../../../src/Makefile.global", line 290: Need an operator
"../../../src/Makefile.global", line 292: Missing dependency operator
"../../../src/Makefile.global", line 294: Need an operator
"../../../src/Makefile.global", line 296: Need an operator
"../../../src/Makefile.global", line 299: Need an operator
"../../../src/Makefile.global", line 301: Need an operator
"../../../src/Makefile.global", line 304: Need an operator
make: fatal errors encountered -- cannot continue

any tips ?

Jeff MacDonald,

-----------------------------------------------------
PostgreSQL Inc        | Hub.Org Networking Services
jeff@pgsql.com        | jeff@hub.org
www.pgsql.com        | www.hub.org
1-902-542-0713        | 1-902-542-3657
-----------------------------------------------------
Facsimile : 1 902 542 5386
IRC Nick  : bignose
PGP Public Key : http://bignose.hub.org/public.txt



pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: two tables - foreign keys referring to each other...]
Next
From: Alex Pilosov
Date:
Subject: Re: pl/Perl