You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
# pgdiff - PostgreSQL schema diff
2
2
3
-
Written in GoLang, this utility compares the schema between two PostgreSQL databases and generates alter statements to be run against the second database. Not everything in the schema is compared, but the thinngs I considered important are: tables, columns (and their default values), foreign keys, and (soon) constraints and user roles.
3
+
Written in GoLang, this utility compares the schema between two PostgreSQL databases and generates alter statements to be *manually*run against the second database. Not everything in the schema is compared, but the things considered important (at the moment) are: tables, columns (and their default values), foreign keys... and soon constraints and user roles.
4
4
5
-
It is written to be easy to add and improve the accuracy of the comparison. Please let me know if you think this goal has not been met. I'm very interested in suggestions and contributions to improve this program. I'm not a GoLang expert yet, but each program I write gets me closer to that goal.
6
5
7
-
I'm a big fan of GoLang because of how easy it is to deliver a single executable on almost any platform. But, just as important I love the design choices and the concurrency features which I've only begun to delve into. Streaming objects back (via a channel) from a method one by one is far better than returning a potentially massive list of objects.
6
+
It is written to be easy to add and improve the accuracy of the diff. Please let me know if you think this goal has not been met. I'm very interested in suggestions and contributions to improve this program. I'm not a GoLang expert yet, but each program I write gets me closer to that goal.
I'm a big fan of GoLang because of how easy it is to deliver a single executable on almost any platform. But, just as important I love the design choices and the concurrency features which I've only begun to delve into. Streaming objects back (via a channel) from a go routine is far better than returning a potentially massive list of objects.
9
+
10
+
<-- A couple of binaries to save you the effort: [Mac](https://github.com/joncrlsn/pgdiff/raw/master/bin-osx/pgdiff"OSX version") -->
0 commit comments