Format code constants already in pgproto3
This commit is contained in:
@@ -20,12 +20,6 @@ import (
|
|||||||
|
|
||||||
const batchBufferSize = 4096
|
const batchBufferSize = 4096
|
||||||
|
|
||||||
// PostgreSQL extended protocol format codes
|
|
||||||
const (
|
|
||||||
TextFormatCode = 0
|
|
||||||
BinaryFormatCode = 1
|
|
||||||
)
|
|
||||||
|
|
||||||
var deadlineTime = time.Date(1, 1, 1, 1, 1, 1, 1, time.UTC)
|
var deadlineTime = time.Date(1, 1, 1, 1, 1, 1, 1, time.UTC)
|
||||||
|
|
||||||
// PgError represents an error reported by the PostgreSQL server. See
|
// PgError represents an error reported by the PostgreSQL server. See
|
||||||
|
|||||||
Reference in New Issue
Block a user