pgx-vs-pq
Jack Christensen 2013-04-08 20:16:49 -05:00
parent 86099237bd
commit d1a586ed64
4 changed files with 13 additions and 15 deletions

View File

@ -240,7 +240,6 @@ func (c *conn) rxDataRow(buf []byte) (row map[string]string, err error) {
return
}
func (c *conn) rxCommandComplete(buf []byte) string {
r := newMessageReader(buf)
return r.readString()

View File

@ -28,7 +28,6 @@ func TestConnect(t *testing.T) {
}
}
func TestQuery(t *testing.T) {
conn, err := Connect(map[string]string{"socket": "/private/tmp/.s.PGSQL.5432"})
if err != nil {

View File

@ -1,8 +1,8 @@
package pqx
import (
"encoding/binary"
"bytes"
"encoding/binary"
)
type messageReader []byte