Re: Bad Data back Door

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bad Data back Door
Дата
Msg-id 13492.1349720032@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bad Data back Door  ("David E. Wheeler" <david@justatheory.com>)
Ответы Re: Bad Data back Door
Re: Bad Data back Door
Список pgsql-hackers
"David E. Wheeler" <david@justatheory.com> writes:
> On Oct 5, 2012, at 6:12 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Now, having said that, I think it has to be the reponsibility of the FDW
>> to apply any required check ... which makes this a bug report against
>> oracle_fdw, not the core system.  (FWIW, contrib/file_fdw depends on the
>> COPY code, which will check encoding.)

> 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.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Bad Data back Door
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Bad Data back Door