
New Show Hacker News story: Show HN: Script to compare Postgres data between two points in time
Show HN: Script to compare Postgres data between two points in time
6 by denvaar | 0 comments on Hacker News.
https://ift.tt/2VUcC2H I cobbled together various programs into a bash script to compare how data changes between two points in time. My idea was basically to have a `git diff` but for data inside postgres. I wanted a util like this to help get to know a new code base: Interact with an app and watch how the data changes. You run the script with a given key (anything) before interacting with an app, then run it again with the same key to see the data diff. I'm not much of a bash scripter, as you can probably see from the script, but it was a fun and useful tool to make. Might make some more improvements in the future (eg. BYO diff command, etc.) but we'll see.
6 by denvaar | 0 comments on Hacker News.
https://ift.tt/2VUcC2H I cobbled together various programs into a bash script to compare how data changes between two points in time. My idea was basically to have a `git diff` but for data inside postgres. I wanted a util like this to help get to know a new code base: Interact with an app and watch how the data changes. You run the script with a given key (anything) before interacting with an app, then run it again with the same key to see the data diff. I'm not much of a bash scripter, as you can probably see from the script, but it was a fun and useful tool to make. Might make some more improvements in the future (eg. BYO diff command, etc.) but we'll see.
0 Response to "New Show Hacker News story: Show HN: Script to compare Postgres data between two points in time"
Post a Comment