pgsql-server/ oc/src/sgml/protocol.sgml rc/bac ...

Поиск
Список
Период
Сортировка
От tgl@svr1.postgresql.org (Tom Lane)
Тема pgsql-server/ oc/src/sgml/protocol.sgml rc/bac ...
Дата
Msg-id 20030813185621.E83B9D1B58A@svr1.postgresql.org
обсуждение исходный текст
Список pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/08/13 15:56:21

Modified files:
    doc/src/sgml   : protocol.sgml
    src/backend/commands: copy.c
    src/interfaces/libpq: fe-exec.c fe-protocol3.c libpq-int.h

Log message:
    libpq failed to cope with COPY FROM STDIN if the command was issued
    via extended query protocol, because it sends Sync right after Execute
    without realizing that the command to be executed is COPY.  There seems
    to be no reasonable way for it to realize that, either, so the best fix
    seems to be to make the backend ignore Sync during copy-in mode.  Bit of
    a wart on the protocol, but little alternative.  Also, libpq must send
    another Sync after terminating the COPY, if the command was issued via
    Execute.


В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql-server/ oc/src/sgml/libpq.sgml rc/interf ...
Следующее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql-server/src/template unixware