Re:

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re:
Дата
Msg-id CAH2-Wz=K1avLy4x4Rb_4y0O8pAkntk5w30UK1Ky-JDAdorqeuw@mail.gmail.com
обсуждение исходный текст
Ответ на Re:  (Vladimir Ryabtsev <greatvovan@gmail.com>)
Ответы Re:
Список pgsql-bugs
On Tue, Sep 24, 2019 at 6:25 PM Vladimir Ryabtsev <greatvovan@gmail.com> wrote:
> bt_page_items() returns two rows:

> This does not make much sense to me to be honest...

It doesn't look like UTF-8, but FWIW "31 39 36 38" is 1968 in ASCII
(and every other encoding supported by Postgres). That's probably the
first part of the string in each case.

What do you mean about encoding conversion? It is rather unlikely that
a bad client application would be able to do this kind of damage. If
you're using UTF-8 as your database encoding, then Postgres tends to
reject malformed strings when validated on input. Even if a malformed
string is accepted into the database, it is only malformed to your
application -- that shouldn't cause this kind of index corruption.

-- 
Peter Geoghegan



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

Предыдущее
От: Vladimir Ryabtsev
Дата:
Сообщение: Re:
Следующее
От: Vladimir Ryabtsev
Дата:
Сообщение: Re: