I wrote: > An alternative that wouldn't require a network round trip is for the > publisher to set its own datestyle to ISO/YMD. I'm pretty sure that > will be interpreted correctly regardless of the receiver's datestyle.
Ah ... see postgres_fdw's set_transmission_modes(). I think we want to copy that logic not invent some other way to do it. regards, tom lane