Re: [SQL] PlPerl

2001-10-07 Thread Alex Pilosov

On Mon, 8 Oct 2001, Aasmund Midttun Godal wrote:

> 1. Is there a plperlu? ... unsafe version of perl?
In 7.2, there will be. In 7.1, you have to apply patches manually.

> 2. Is it possible to select which packages the plperl should have access to?
In 7.2, plperlu can do anything. plperl in either version is very
restricted. (use Safe qw(:default :math))

> 3. What exactly can you and can't you do.
See above.


---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html



[SQL] PlPerl

2001-10-07 Thread Aasmund Midttun Godal

1. Is there a plperlu? ... unsafe version of perl?
2. Is it possible to select which packages the plperl should have access to?
3. What exactly can you and can't you do.

Thank you for your attention.

Aasmund Midttun Godal

[EMAIL PROTECTED] - http://www.godal.com/
+47 40 45 20 46

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



Re: [SQL] plperl

2001-06-07 Thread Clayton Cottingham aka drfrog


Time Co-Ordinate Tue, 05 Jun 2001 19:45:55 -0400, The Organism labeled Tom Lane
said:

> clayton cottingham <[EMAIL PROTECTED]> writes:
>  > how does one execute an sql statement from inside a plperl function?
>  
>  At the moment, one doesn't.
>  
>  This is one of a number of features that have to be finished before
>  plperl can be classed as more than a proof-of-concept exercise.
>  However, Mark Hollomon seems to have lost interest or time to work on
>  it, and no one else has picked up the ball.  Any volunteers out there?
>  
>   regards, tom lane
>  
>  


just looked  at the code

i wish i could say yes
but it looks way beyond my level

heres hoping someone pick up the torch

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



Re: [SQL] plperl

2001-06-05 Thread Jie Liang

As I know, plperl doesn't support that yet.
plpgsql does, so does pltcl.

Jie LIANG

St. Bernard Software

10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873

[EMAIL PROTECTED]
www.stbernard.com
www.ipinc.com

On Tue, 5 Jun 2001, clayton cottingham wrote:

> hello:
> 
> how does one execute an sql statement from inside a plperl function?
> 
> ---(end of broadcast)---
> TIP 4: Don't 'kill -9' the postmaster
> 


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



Re: [SQL] plperl

2001-06-05 Thread Tom Lane

clayton cottingham <[EMAIL PROTECTED]> writes:
> how does one execute an sql statement from inside a plperl function?

At the moment, one doesn't.

This is one of a number of features that have to be finished before
plperl can be classed as more than a proof-of-concept exercise.
However, Mark Hollomon seems to have lost interest or time to work on
it, and no one else has picked up the ball.  Any volunteers out there?

regards, tom lane

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



[SQL] plperl

2001-06-05 Thread clayton cottingham

hello:

how does one execute an sql statement from inside a plperl function?

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



Re: [SQL] plperl

2000-10-26 Thread Peter Eisentraut

Jie Liang writes:

> "../../../src/Makefile.global", line 304: Need an operator
> make: fatal errors encountered -- cannot continue
> su-2.04#
> 
> what I need to do?

Use GNU make.

-- 
Peter Eisentraut  [EMAIL PROTECTED]   http://yi.org/peter-e/




Re: [SQL] plperl

2000-10-26 Thread Tom Lane

Jie Liang <[EMAIL PROTECTED]> writes:
> su-2.04# make
> "../../../src/Makefile.global", line 135: Need an operator
> "../../../src/Makefile.global", line 139: Missing dependency operator

Hmm, is "make" on your machine GNU make?  If not try "gmake".

regards, tom lane



[SQL] plperl

2000-10-25 Thread Jie Liang

hi,

I followed README tried to install plperl:

su-2.04# cd /work/src/pgsql702/src/pl/plperl
su-2.04# perl Makefile.PL
Writing Makefile for plperl
su-2.04# 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
su-2.04#

what I need to do?

--
Jie LIANG

Internet Products Inc.

10350 Science Center Drive
Suite 100, San Diego, CA 92121
Office:(858)320-4873

[EMAIL PROTECTED]
www.ipinc.com