pgsql: Print line number correctly in COPY.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Print line number correctly in COPY.
Дата
Msg-id E1UfU9e-0000of-AH@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Print line number correctly in COPY.

When COPY uses the multi-insert method to insert a batch of tuples into the
heap at a time, incorrect line number was printed if something went wrong in
inserting the index tuples (primary key failure, for exampl), or processing
after row triggers.

Fixes bug #8173 reported by Lloyd Albin. Backpatch to 9.2, where the multi-
insert code was added.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e2ef289363f52b9dd5950c88a65803b585d86ad8

Modified Files
--------------
src/backend/commands/copy.c |   54 +++++++++++++++++++++++++++++++-----------
1 files changed, 40 insertions(+), 14 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Print line number correctly in COPY.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix typo in comment.