summaryrefslogtreecommitdiff
path: root/src/include/libpq
diff options
context:
space:
mode:
authorTom Lane2016-10-11 16:19:18 +0000
committerTom Lane2016-10-11 16:19:18 +0000
commit2f1eaf87e868a1c42f2b159958623daa6a666de4 (patch)
tree268fb38d3a2e276496734f91f116836d3bb18862 /src/include/libpq
parent2b860f52ed1b1784cdf3f03886805f5bf250ea74 (diff)
Drop server support for FE/BE protocol version 1.0.
While this isn't a lot of code, it's been essentially untestable for a very long time, because libpq doesn't support anything older than protocol 2.0, and has not since release 6.3. There's no reason to believe any other client-side code still uses that protocol, either. Discussion: <2661.1475849167@sss.pgh.pa.us>
Diffstat (limited to 'src/include/libpq')
-rw-r--r--src/include/libpq/pqcomm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/libpq/pqcomm.h b/src/include/libpq/pqcomm.h
index c6bbfc23772..96484227f7e 100644
--- a/src/include/libpq/pqcomm.h
+++ b/src/include/libpq/pqcomm.h
@@ -107,7 +107,7 @@ typedef struct
/* The earliest and latest frontend/backend protocol version supported. */
-#define PG_PROTOCOL_EARLIEST PG_PROTOCOL(1,0)
+#define PG_PROTOCOL_EARLIEST PG_PROTOCOL(2,0)
#define PG_PROTOCOL_LATEST PG_PROTOCOL(3,0)
typedef uint32 ProtocolVersion; /* FE/BE protocol version number */