COPY table FROM STDIN doesn't show count tag

Поиск
Список
Период
Сортировка
От Rajeev rastogi
Тема COPY table FROM STDIN doesn't show count tag
Дата
Msg-id BF2827DCCE55594C8D7A8F7FFD3AB7713DD7E31D@SZXEML508-MBX.china.huawei.com
обсуждение исходный текст
Ответы Re: COPY table FROM STDIN doesn't show count tag  (Robert Haas <robertmhaas@gmail.com>)
Re: COPY table FROM STDIN doesn't show count tag  (Amit Khandekar <amit.khandekar@enterprisedb.com>)
Список pgsql-hackers

From the following mail, copy behaviour between stdin and normal file having some inconsistency.

       http://www.postgresql.org/message-id/CE85A517.4878E%tim.kane@gmail.com

 

The issue was that if copy  execute "from stdin", then it goes to the server to execute the command and then server request for the input, it sends back the control to client to enter the data. So once client sends the input to server, server execute the copy command and sends back the result to client but client does not print the result instead it just clear it out.

Changes are made to ensure the final result from server get printed before clearing the result.

 

Please find the patch for the same and let me know your suggestions.

 

Thanks and Regards,

Kumar Rajeev Rastogi

 

Вложения

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

Предыдущее
От: Stéphan BEUZE
Дата:
Сообщение: Re: ERROR : 'tuple concurrently updated'
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Multiple psql -c / -f options