Re: libpq: do I need PQendcopy after PQgetCopyData?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpq: do I need PQendcopy after PQgetCopyData?
Дата
Msg-id 20198.1261502379@sss.pgh.pa.us
обсуждение исходный текст
Ответ на libpq: do I need PQendcopy after PQgetCopyData?  (Nathaniel Trellice <naptrel@yahoo.co.uk>)
Ответы Re: libpq: do I need PQendcopy after PQgetCopyData?  (Nathaniel Trellice <naptrel@yahoo.co.uk>)
Список pgsql-general
Nathaniel Trellice <naptrel@yahoo.co.uk> writes:
> So, even though the manual states that it's obsolete, do I need to issue a call to 'PQendcopy' to tell the server
thatthe copy is complete? 

No, but did you do a PQgetResult?  See the description of PQgetCopyData.

            regards, tom lane

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

Предыдущее
От: Nathaniel Trellice
Дата:
Сообщение: libpq: do I need PQendcopy after PQgetCopyData?
Следующее
От: Nathaniel Trellice
Дата:
Сообщение: Re: libpq: do I need PQendcopy after PQgetCopyData?