Re: [Pgsql-ayuda] Trigger y lenguajes procedurales

From: Patricio Muñoz <pmunoz(at)cmet(dot)net>
To: "Manuel Sugawara" <masm(at)fciencias(dot)unam(dot)mx>
Cc: <pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx>
Subject: Re: [Pgsql-ayuda] Trigger y lenguajes procedurales
Date: 2004-02-17 20:03:07
Message-ID: 00e301c3f591$0f599ce0$0500a8c0@ultra.cmet.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Toda la razon Manuel, buscando en la documentacion encontre lo siguiente:

Missing Features
The following features are currently missing from PL/Perl, but they would
make welcome contributions.

1. PL/Perl functions cannot call each other directly (because they are
anonymous subroutines inside Perl). There's presently no way for them to
share global variables, either.

2. PL/Perl cannot be used to write trigger functions.

3 .DBD::PgSPI or similar capability should be integrated into the standard
PostgreSQL distribution.

La caracteristica 2 menciona lo que citaste

"Patricio Muñoz" <pmunoz(at)cmet(dot)net> writes:

> Tengo una funcion escrita en plperlu y funciona correctamente, pero al
> momento de crear el trigger, arroja el error que no existe tal funcion.
> Ahora bien la funcion recibe y retorna un string.

"Manuel Sugawara" <masm(at)fciencias(dot)unam(dot)mx> writes

> Porque la función tiene que regresar un tipo opaco llamado TRIGGER y
> para esto es necesario que el lenguaje sepa como hacerlo. Perl aún no
> sabe :-( IIRC.

> Saludos,
> Manuel.

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Mauricio Ferrari 2004-02-17 20:33:38 Re: [Pgsql-ayuda] Ayuda!!!
Previous Message Patricio Muñoz 2004-02-17 19:42:44 Re: [Pgsql-ayuda] Ayuda!!!