2
0

pgx uses pgconn.CommandTag instead of own definition

This commit is contained in:
Jack Christensen
2019-01-01 16:55:48 -06:00
parent ddd37cf557
commit 7f9540438c
13 changed files with 106 additions and 118 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ import (
"time"
"github.com/jackc/pgx"
"github.com/jackc/pgx/pgconn"
)
// This function uses a postgresql 9.6 specific column
@@ -87,7 +88,7 @@ func TestSimpleReplicationConnection(t *testing.T) {
currentTime := time.Now().Unix()
for i := 0; i < 5; i++ {
var ct pgx.CommandTag
var ct pgconn.CommandTag
insertedTimes = append(insertedTimes, currentTime)
ct, err = conn.Exec("insert into replication_test(a) values($1)", currentTime)
if err != nil {