Re: pl/PgSQL, variable names in NEW - Mailing list pgsql-sql

From Martin Edlman
Subject Re: pl/PgSQL, variable names in NEW
Date
Msg-id 47FDFB2E.3060503@fortech.cz
Whole thread Raw
In response to Re: pl/PgSQL, variable names in NEW  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: pl/PgSQL, variable names in NEW
List pgsql-sql
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


|> I don't want to rewrite whole trigger to plPerl as I would have to use
|> DBD-PgSPI.
|
| Huh?  Certainly not -- there are functions in PL/Perl for this.  See
| spi_exec_query in
| http://www.postgresql.org/docs/8.3/static/plperl-database.html

Oh, I see. I have read the doc "...can be done via the function
spi_exec_query described below, or via an experimental module
DBD::PgSPI...", but missed the "OR" and thought that DBD::PgSPI is
mandatory.
Thanks.

Martin

- --
Regards,

Martin Edlman
Fortech, spol. s r.o,
Ropkova 51, 57001 Litomyšl
Public GPG key: http://edas.visaci.cz/#gpgkeys
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFH/fstqmMakYm+VJ8RAjLSAKCW4rqz2w1CaND8/BxAxLcOlwwziQCgjxsA
PAAPqST5r5St08OgJsVkVK4=
=ZUKV
-----END PGP SIGNATURE-----


pgsql-sql by date:

Previous
From: Tk421
Date:
Subject: Re: dateformat issue
Next
From: Volkan YAZICI
Date:
Subject: Re: dateformat issue