Re: Invoke diff from plpgsql? - Mailing list pgsql-general

From Matthew Peter
Subject Re: Invoke diff from plpgsql?
Date
Msg-id 20060527212502.14590.qmail@web35212.mail.mud.yahoo.com
Whole thread Raw
In response to Re: Invoke diff from plpgsql?  ("George Pavlov" <gpavlov@mynewplace.com>)
List pgsql-general
George Pavlov <gpavlov@mynewplace.com> wrote:
> Wondering how to invoke a application like diff from plpgsql? Thanks!

And don't forget that you are working with a database. Most diff-ing
uses can probably be handled by constructs like EXCEPT and INTERSECT to
say nothing of OUTER JOINs. Also, IS DISTINCT FROM is your friend if you
want a comparison that treats NULLs as "normal" data values.
Thanks for the replies. What I wanted to do was just track the changes to a column... like svn does so I can get a history and incremental changes of a article per user handled by a trigger. Saving the output from diff seemed simple enough rather than the entire article.

Is there a contrib modules or otherwise to enable tracking changes like that in plpgsql?


Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get Yahoo! Messenger with Voice

pgsql-general by date:

Previous
From: "Froggy / Froggy Corp."
Date:
Subject: Re: [PL/PGSQL] (Bug/Feature problem) with recursive Trigger
Next
From: Steve Atkins
Date:
Subject: Re: Per session variables