Re: split function for pl/pgsql - Mailing list pgsql-sql

From Joe Conway
Subject Re: split function for pl/pgsql
Date
Msg-id 3D9BB629.3040300@joeconway.com
Whole thread Raw
In response to split function for pl/pgsql  (Frederic Logier <fred@az-informatique.com>)
List pgsql-sql
Frederic Logier wrote:
> Great ! have you some example for call a pl/perl function from a
> pl/pgsql function ?

I don't use PL/Perl, but I think you should be able to do:  SELECT INTO var my_plperl_func(text_to_split);
from within your PL/pgSQL function.

> And could i use an int array in pl/pgsql returned by the pl/perl
> function ?

I don't know if it is possible to construct a PostgreSQL array in pl/perl, but 
I would imagine that should work. Any pl/perl users out there?

Joe



pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: celko nested set functions
Next
From: Thrasher
Date:
Subject: Re: Updating from select