From: Martin Edlman <edlman@fortech.cz>
To: pgsql-sql@postgresql.org
Subject: Re: pl/PgSQL, variable names in NEW
Date: Thu, 10 Apr 2008 13:34:06 +0200
Message-ID: <47FDFB2E.3060503@fortech.cz> (raw)
In-Reply-To: <20080408132157.GF5290@alvh.no-ip.org>
References: <47FA034B.7090201@fortech.cz>
<162867790804070511y7266c911w370db97a78c3c519@mail.gmail.com>
<47FB51C7.6090509@fortech.cz>
<20080408132157.GF5290@alvh.no-ip.org>
-----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-----
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: edlman@fortech.cz
Subject: Re: pl/PgSQL, variable names in NEW
In-Reply-To: <47FDFB2E.3060503@fortech.cz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox