Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 303E647623E for ; Wed, 2 Oct 2002 23:16:10 -0400 (EDT) Received: from joeconway.com (unknown [63.210.180.150]) by postgresql.org (Postfix) with ESMTP id 8AF21476223 for ; Wed, 2 Oct 2002 23:16:09 -0400 (EDT) Received: from [192.168.5.3] (account jconway HELO joeconway.com) by joeconway.com (CommuniGate Pro SMTP 3.5.9) with ESMTP-TLS id 1344797; Wed, 02 Oct 2002 19:53:05 -0700 Message-ID: <3D9BB629.3040300@joeconway.com> Date: Wed, 02 Oct 2002 20:14:49 -0700 From: Joe Conway User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Frederic Logier Cc: pgsql-sql@postgresql.org Subject: Re: split function for pl/pgsql References: <1033554614.16115.45.camel@ghost> <3D9B1479.2060600@joeconway.com> <1033577699.14486.81.camel@ghost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/33 X-Sequence-Number: 9751 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