On Oct 8, 2012, at 11:13 AM, Tom Lane <[email protected]> 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 guess trusting is reasonable, though. I wonder about dbi-link, though… David -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
