Re: Bad Data back Door - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Bad Data back Door
Date
Msg-id CDFDCFD7-4EFA-437A-9424-B04AD0B2C021@justatheory.com
Whole thread Raw
In response to Re: Bad Data back Door  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bad Data back Door
Next
From: Andrew Dunstan
Date:
Subject: Re: Bad Data back Door