Merge branch 'master' into v3-experimental
* master: Tweak replication test setup Properly make it a func init() The naming really matters Fix the syntax Properly make the replication tests skippable on 9.5 and below I forgot the tests are 9.6+ One more try for travis Valid YAML helps. Dont break old postgres Try to fix travis Add the ability to set all the fields in the constructor Start replication now wraps the sql and returns errors properly It should all be unsigned. Capitalization Add replication stop mechanism Add basic logical replication protocol support
This commit is contained in:
+2
-2
@@ -30,7 +30,7 @@ func ensureConnValid(t *testing.T, db *sql.DB) {
|
||||
|
||||
rows, err := db.Query("select generate_series(1,$1)", 10)
|
||||
if err != nil {
|
||||
t.Fatalf("db.Query failed: ", err)
|
||||
t.Fatalf("db.Query failed: %v", err)
|
||||
}
|
||||
defer rows.Close()
|
||||
|
||||
@@ -42,7 +42,7 @@ func ensureConnValid(t *testing.T, db *sql.DB) {
|
||||
}
|
||||
|
||||
if rows.Err() != nil {
|
||||
t.Fatalf("db.Query failed: ", err)
|
||||
t.Fatalf("db.Query failed: %v", err)
|
||||
}
|
||||
|
||||
if rowCount != 10 {
|
||||
|
||||
Reference in New Issue
Block a user