On Oct 8, 2012, at 11:13 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> FWIW, I believe that dblink does not check encoding.
>
> In dblink's case, that boils down to trusting a remote instance of
> Postgres to get this right, which doesn't seem totally unreasonable.
> But I wouldn't object to adding checks there if someone wanted to submit
> a patch.
Yeah, I found this because we had a dblink to another PostgreSQL server's table with data populated from oracle_fdw. I
guesstrusting is reasonable, though.
I wonder about dbi-link, though…
David