Is possible cancel cycle of reading pg_getcopydata?

[email protected] (Pavel Stehule) Thu, 11 Feb 2016 16:12:02 +0100 (CET)
Newsgroups perl.dbd.pg
Message-ID <[email protected]>
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?

Regards

Pavel Stehule