Re: Using GIT to caught delta between database versions - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Using GIT to caught delta between database versions
Date
Msg-id 503bf40d-2b8d-cd49-75e8-1d5ea3333742@aklaver.com
Whole thread Raw
In response to Re: Using GIT to caught delta between database versions  (Łukasz Jarych <jaryszek@gmail.com>)
Responses Re: Using GIT to caught delta between database versions
List pgsql-general
On 06/13/2018 11:13 AM, Łukasz Jarych wrote:
> Hi Adrian,
> 
> thank you .
> 
> why i should use sqitch or any other software to catch the delta?
> 
> When i will export plan-text SQL , git should catch delta automatically?
> Can you please explain it?

You are correct Git will catch the changes in the plain text files.

What is nice about Sqitch and similar tools is they offer additional 
functionality, such as deploying to different servers(production, dev, 
testing, etc), declaring dependencies between changes, rolling back 
individual changes, etc. To get a sense of what is possible take a look 
here:

https://metacpan.org/pod/sqitchtutorial

I have found it very useful. It comes down to individual preference.

> 
> Best,
> Jacek
> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Łukasz Jarych
Date:
Subject: Re: Using GIT to caught delta between database versions
Next
From: Andrey Lizenko
Date:
Subject: Replica string comparsion issue