OSDN Git Service

Another round of protocol changes. Backend-to-frontend messages now all
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 22 Apr 2003 00:08:07 +0000 (00:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 22 Apr 2003 00:08:07 +0000 (00:08 +0000)
commit5ed27e35f35f6c354b1a7120ec3a3ce57f93e73e
tree9ed912fbf02c36160a88881764735f8eab6103b9
parentca944bd2d41814712cb4a4810ab4aa490f23a853
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.
22 files changed:
doc/src/sgml/libpq.sgml
doc/src/sgml/protocol.sgml
src/backend/access/common/printtup.c
src/backend/commands/async.c
src/backend/commands/copy.c
src/backend/libpq/auth.c
src/backend/libpq/pqcomm.c
src/backend/libpq/pqformat.c
src/backend/postmaster/postmaster.c
src/backend/tcop/dest.c
src/backend/tcop/fastpath.c
src/backend/tcop/postgres.c
src/backend/utils/error/elog.c
src/include/libpq/pqcomm.h
src/include/libpq/pqformat.h
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-exec.c
src/interfaces/libpq/fe-misc.c
src/interfaces/libpq/libpq-int.h
src/test/regress/expected/alter_table.out
src/test/regress/expected/copy2.out
src/test/regress/expected/domain.out