Possibly odd question; diff results?

From: Madison Kelly <linux(at)alteeve(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Possibly odd question; diff results?
Date: 2007-02-09 01:31:46
Message-ID: 45CBCF02.2090200@alteeve.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

I've got a 'history' schema that records changes in the public schema
tables over time. I use a trigger and function to do this. What I would
like to do though, and this may not even be possible, is say something
like (pseudo-code) "SELECT DIFF foo_name FROM history.foo WHERE
foo_id=X;" and have a *nix 'diff' style results shown (sort of like
looking at diffs in CVS/SVN).

Has anyone done this or should I just look into writing a small
program to do this outside of postgres?

Thanks!

Madi

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Arturo Perez 2007-02-09 02:50:18 Adding TEXT columns tanks performance?
Previous Message Chad Wagner 2007-02-09 01:22:40 Re: Move data between two databases SQL-ASCII to UTF8