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
These instructions will guide you through the process of generating SQL, reviewing it, and optionally running it on the target database. It requires a familiarity with a Linux command-line shell.
4
+
5
+
1. download pgdiff.tgz to your machine
6
+
1. untar pgdiff.tgz (a new directory will be created: called pgdiff)
7
+
1. cd into the new pgdiff directory
8
+
1. optionally edit pgdiff.sh to change the db access values... or set them at runtime (i.e. USER1=joe NAME1=mydb USER2=joe NAME2=myotherdb pgdiff.sh)
9
+
1. run pgdiff.sh
10
+
11
+
## tar contents
12
+
* pgdiff - a linux executable
13
+
* pgrun - a linux executable for running SQL
14
+
* pgdiff.sh - a bash shell script to coordinate your interaction with pgdiff and pgrun
15
+
16
+
If you write a Go version of pgdiff.sh, please share it and I'll include it for others to use (with your copyright information intact).
These instructions will guide you through the process of generating SQL, reviewing it, and optionally running it on the target database. It requires a familiarity with the bash shell in OSX.
4
+
5
+
1. download pgdiff.tgz to your machine
6
+
1. untar pgdiff.tgz (a new directory will be created: called pgdiff)
7
+
1. cd into the new pgdiff directory
8
+
1. optionally edit pgdiff.sh to change the db access values... or set them at runtime (i.e. USER1=joe NAME1=mydb USER2=joe NAME2=myotherdb pgdiff.sh)
9
+
1. run pgdiff.sh
10
+
11
+
## tar contents
12
+
* pgdiff - an OSX executable
13
+
* pgrun - an OSX executable for running SQL
14
+
* pgdiff.sh - a bash shell script to coordinate your interaction with pgdiff and pgrun
15
+
16
+
If you write a Go version of pgdiff.sh, please share it and I'll include it for others to use (with your copyright information intact).
0 commit comments