Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > Re: pl/PgSQL, v...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 3393 of 3799
Post > Topic >>

Re: pl/PgSQL, variable names in NEW

by edlman@[EMAIL PROTECTED] (Martin Edlman) Apr 10, 2008 at 01:34 PM

-----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-----

-- 
Sent via pgsql-sql mailing list (pgsql-sql@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
 




 5 Posts in Topic:
pl/PgSQL, variable names in NEW
edlman@[EMAIL PROTECTED]   2008-04-07 13:19:39 
Re: pl/PgSQL, variable names in NEW
pavel.stehule@[EMAIL PROT  2008-04-07 14:11:23 
Re: pl/PgSQL, variable names in NEW
edlman@[EMAIL PROTECTED]   2008-04-08 13:06:47 
Re: pl/PgSQL, variable names in NEW
alvherre@[EMAIL PROTECTED  2008-04-08 09:21:57 
Re: pl/PgSQL, variable names in NEW
edlman@[EMAIL PROTECTED]   2008-04-10 13:34:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 22:29:38 CST 2008.