mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
This reverts commit95fb5b4902, for reasons similar to what led to1aa8324b81. In this case, the callback was called once per row, which is less worse than the previous callback introduced for COPY TO called once per argument for each row, still the patch set discussed to plug in custom routines to the COPY paths would be able to know which subroutine to use depending on its CopyFromState, so this led to a suboptimal approach at the end. For now, this part is reverted to consider better which approach to use. Discussion: https://postgr.es/m/20240206014125.qofww7ew3dx3v3uk@awork3.anarazel.de