Re: pl/PgSQL, variable names in NEW
От | Martin Edlman |
---|---|
Тема | Re: pl/PgSQL, variable names in NEW |
Дата | |
Msg-id | 47FDFB2E.3060503@fortech.cz обсуждение исходный текст |
Ответ на | Re: pl/PgSQL, variable names in NEW (Alvaro Herrera <alvherre@commandprompt.com>) |
Ответы |
Re: pl/PgSQL, variable names in NEW
|
Список | 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 по дате отправления: