Is possible cancel cycle of reading pg_getcopydata?

Pavel Stehule <[email protected]> Thu, 11 Feb 2016 16:12:02 +0100 (CET)
Newsgroups gmane.comp.db.postgresql.dbdpg
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