Re: split function for pl/pgsql

From: Joe Conway <mail(at)joeconway(dot)com>
To: Frederic Logier <fred(at)az-informatique(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: split function for pl/pgsql
Date: 2002-10-03 03:14:49
Message-ID: 3D9BB629.3040300@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Thrasher 2002-10-03 08:18:30 Re: Updating from select
Previous Message Josh Berkus 2002-10-02 22:11:03 Re: celko nested set functions