On Thu, 11 Feb 2016, Pavel Stehule wrote:

Hi all

I use synchronnous function pg_getcopydata. Sometimes I need to leave cycle immediately. The exit is working, but it produce FATAL error "connection to client lost". Is it possible to reset connection and leaving without this message?

I found it - the necessary to call undocumented method pg_endcopy()

Regards

Pavel

Regards

Pavel Stehule


Reply via email to