Attached is a patch to add support for this switch. I am parking that
in the next CF.
I'm in favor of this feature for consistency with pg_dump, and as the
environment variable workaround is not specially elegant and can induce
issues of its own.
Patch applies and compiles.
No special regression tests are provided, but this seems ok to me as it
just forward the option to pg_dump, which I have no doubt is heavily
tested. Or not. Anyway it is consistent...
Manually tested with UTF8, latin1 (including conversion errors), non
Code is straightforward. Doc and help are both fine.
Ok for me. I switched the status to "Ready for committers".
Sent via pgsql-hackers mailing list (email@example.com)
To make changes to your subscription: