"Maksym Boguk" <Maxim(dot)Boguk(at)gmail(dot)com> writes:
> But I found I can not stop
> COPY bill.changes (id, cdate, mdate, status, table_name, pk_id, old_row,
> new_row) TO stdout;
> with pg_terminate_backend(procpid) or kill (procpid).
Works for me ...
regards, tom lane