I you hit ^d while COPY FROM STDIN is reading then subsequent COPY FROM STDIN commands return immediately.
Hi, I could not reproduce this issue. Even after Ctrl+d , subsequent COPY from commands reads the input properly. Is there any specific step you followed or can you share the sample testcase?