diff --git a/adapters/kpgx5/kpgx.go b/adapters/kpgx5/kpgx.go index 387ba66..fbe8a20 100644 --- a/adapters/kpgx5/kpgx.go +++ b/adapters/kpgx5/kpgx.go @@ -40,6 +40,5 @@ func New( return ksql.DB{}, err } - db, err = ksql.NewWithAdapter(NewPGXAdapter(pool), sqldialect.PostgresDialect{}) - return db, err + return ksql.NewWithAdapter(NewPGXAdapter(pool), sqldialect.PostgresDialect{}) }