diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-22 00:08:07 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-04-22 00:08:07 +0000 |
commit | 5ed27e35f35f6c354b1a7120ec3a3ce57f93e73e (patch) | |
tree | 9ed912fbf02c36160a88881764735f8eab6103b9 /src/include/libpq/pqcomm.h | |
parent | ca944bd2d41814712cb4a4810ab4aa490f23a853 (diff) | |
download | postgresql-5ed27e35f35f6c354b1a7120ec3a3ce57f93e73e.tar.gz |
Another round of protocol changes. Backend-to-frontend messages now all
have length words. COPY OUT reimplemented per new protocol: it doesn't
need \. anymore, thank goodness. COPY BINARY to/from frontend works,
at least as far as the backend is concerned --- libpq's PQgetline API
is not up to snuff, and will have to be replaced with something that is
null-safe. libpq uses message length words for performance improvement
(no cycles wasted rescanning long messages), but not yet for error
recovery.
Diffstat (limited to 'src/include/libpq/pqcomm.h')
-rw-r--r-- | src/include/libpq/pqcomm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/libpq/pqcomm.h b/src/include/libpq/pqcomm.h index 61aa695e27..420f1e438e 100644 --- a/src/include/libpq/pqcomm.h +++ b/src/include/libpq/pqcomm.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: pqcomm.h,v 1.77 2003/04/19 00:02:29 tgl Exp $ + * $Id: pqcomm.h,v 1.78 2003/04/22 00:08:07 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -106,7 +106,7 @@ typedef union SockAddr /* The earliest and latest frontend/backend protocol version supported. */ #define PG_PROTOCOL_EARLIEST PG_PROTOCOL(1,0) -#define PG_PROTOCOL_LATEST PG_PROTOCOL(3,101) /* XXX temporary value */ +#define PG_PROTOCOL_LATEST PG_PROTOCOL(3,102) /* XXX temporary value */ typedef uint32 ProtocolVersion; /* FE/BE protocol version number */ |