Kris Jurka <books@ejurka.com> writes:
> The original patch's suggested use of the client's environment
> encoding seems random to me.
Yeah, that bothered me too --- it seemed to be introducing a whole new
variable into the behavior, without much to show for it.
regards, tom lane