From e78cefecc5a11e1d470be1404b49f3b5a7a94e2f Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Tue, 1 Jan 2019 11:35:39 -0600 Subject: [PATCH] Format code constants already in pgproto3 --- pgconn/pgconn.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pgconn/pgconn.go b/pgconn/pgconn.go index f2e46539..9aeba757 100644 --- a/pgconn/pgconn.go +++ b/pgconn/pgconn.go @@ -20,12 +20,6 @@ import ( 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) // PgError represents an error reported by the PostgreSQL server. See