pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Frederic Logier <fred@az-informatique.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: split function for pl/pgsql
Date: Wed, 02 Oct 2002 20:14:49 -0700
Message-ID: <3D9BB629.3040300@joeconway.com> (raw)
References: <1033554614.16115.45.camel@ghost>
	<3D9B1479.2060600@joeconway.com>
	<1033577699.14486.81.camel@ghost>

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




view thread (4+ messages)

Message-ID: <3D9BB629.3040300@joeconway.com>
Permalink:  ../3D9BB629.3040300@joeconway.com/
Also on:    postgresql.org/message-id/3D9BB629.3040300@joeconway.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mail@joeconway.com, fred@az-informatique.com
  Subject: Re: split function for pl/pgsql
  In-Reply-To: <3D9BB629.3040300@joeconway.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox