Wikipedia

Search results

Friday, August 13, 2021

Show HN: Script to compare Postgres data between two points in time https://ift.tt/3shr8NN

Show HN: Script to compare Postgres data between two points in time 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. August 13, 2021 at 11:56PM

No comments:

Post a Comment