calling a fuction within a function

From: Feite Brekeveld <feite(dot)brekeveld(at)osiris-it(dot)nl>
To: pgsql-general(at)postgresql(dot)org
Subject: calling a fuction within a function
Date: 2001-03-09 16:09:39
Message-ID: 3AA90043.B4511C0D@osiris-it.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I have an application that receives data with attributes concatenated as
a string seperated by a /

I use perl code to split it into seperate attributes and store it from
one table into another (Solid database)

What I would like to do is:

- Receive the data in a table that stores the cancat. string
- have a trigger on that table that receives splits the string into
pieces using plperl ( some tricky regexps are involved so perl would be
nice )
- have this function insert the new record into another table with the
attibutes seperated.

QUESTION:

Can I call a function from the perl-based trigger to store the new
record ?

Thanks,

Feite Brekeveld

Browse pgsql-general by date

  From Date Subject
Next Message Estelle_Littee 2001-03-09 16:34:45 inheritance and foreign key
Previous Message Brent R. Matzelle 2001-03-09 15:17:04 Re: Re: pgsql for Python