postgresql_16:7.1.53.3 Outputs
PostgreSQL 16 > Reference > SQL Commands > COPY > Outputs
On successful completion, a COPY command returns a command tag of the form COPY *count* The *count* is the number of rows copied.
Note
psql will print this command tag only if the command was not COPY ... TO STDOUT, or the equivalent psql meta-command \copy ... to stdout. This is to prevent confusing the command tag with the data that was just printed.