On Thu, Jan 20, 2022, 19:01 Wells Oliver <wells(dot)oliver(at)gmail(dot)com> wrote:
> Is there some clever way to gauge the progress of a COPY command? i.e. you
> know it has 10m rows, but you can't SELECT COUNT(*).
>
If you can open a second connection, you can just query
pg_stat_progress_copy.
/Magnus
>