On 10/26/15 5:33 PM, Tom Lane wrote:
> We could avoid the problem by having pg_dump force
> standard_conforming_strings to ON rather than adopting the prevailing
> database setting,
It does do that.
What it doesn't do is set escape_string_warning, which is really what
the reporter would need. (There is code in pg_dump to do it, but it
apparently only runs when standard_confirming_string is not set. I
haven't traced what that code is really meant to do.)