Tracking DDL and DML changes in Postgresql and different versions of database (advance)

From: Łukasz Jarych <jaryszek(at)gmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Tracking DDL and DML changes in Postgresql and different versions of database (advance)
Date: 2018-05-30 05:33:26
Message-ID: CAGv31oeocf2dF5h394YAxG_OC2uen5pt-K=zWeuW2UBQTD=fmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Guys,

i am using Access FE and Postgresql BE.
To track DML changes i have history log table wotking like here:

https://www.fontstuff.com/access/acctut21.htm

It is ok but this doesnt solve the problem with trakich DDL changes.

For DDL changes i can use flyway system but how to combine this with my DML
trackinh system?

Do you have any solutions for this?

My boss wants to have possibility to save the current version (state) of
database with DML and DDL changes. And to easily revert and go back to
previous version (rollback all changes).

I do not think so that postgresql has triggers on DDL changes and - this is
the most optimal solution?

Best Wishes,
Luke

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavan Teja 2018-05-30 06:11:52 Re: Tracking DDL and DML changes in Postgresql and different versions of database (advance)
Previous Message David G. Johnston 2018-05-30 03:36:38 Re: existence of a savepoint?