Re: Invoke diff from plpgsql?

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: survivedsushi(at)yahoo(dot)com
Subject: Re: Invoke diff from plpgsql?
Date: 2006-05-27 03:02:04
Message-ID: 9cf6bb24ffe50f0a5fa81bd8b9525721@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Wondering how to invoke a application like diff from plpgsql? Thanks!

Pl/Pgsql cannot execute system commands. For that, you will need one
of the other Pl languages, running in "untrusted" mode. Here are
some from the manual:

http://www.postgresql.org/docs/current/static/pltcl.html
http://www.postgresql.org/docs/current/static/plperl.html
http://www.postgresql.org/docs/current/static/plpython.html

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200605262300
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

-----BEGIN PGP SIGNATURE-----

iD8DBQFEd8DMvJuQZxSWSsgRAo5qAJwNa+Nvxy8b094l1pYEyUVKB89vHwCgywXO
7mpUYWPeQ0q8qXpM/f/8g2s=
=0Evq
-----END PGP SIGNATURE-----

In response to

Browse pgsql-general by date

  From Date Subject
Next Message George Pavlov 2006-05-27 06:14:05 Re: Invoke diff from plpgsql?
Previous Message Joshua D. Drake 2006-05-27 03:01:32 Re: Invoke diff from plpgsql?