Re: BUG #8662: psql -H and ts_headline

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #8662: psql -H and ts_headline
Дата
Msg-id 52B463CC.50300@gmx.net
обсуждение исходный текст
Ответ на BUG #8662: psql -H and ts_headline  (cbfgterfdy@zacglen.net)
Ответы Re: BUG #8662: psql -H and ts_headline  (cbfgterfdy@zacglen.net)
Список pgsql-bugs
On 12/6/13, 7:03 PM, cbfgterfdy@zacglen.net wrote:
> While "psql -H" is quite useful there is flaw when a query includes
> ts_headline(). The highlighting html gets escaped along with any other html
> special characters.

How would you address that?  There is no way for psql or any other
client to know that the text data that is being returned is actually
HTML.  A proper fix would be having an HTML data type, or having
ts_headline() return type XML.

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

Предыдущее
От: Umesh Kirdat
Дата:
Сообщение: Duplicate key violates unique constraint
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #8139: initdb: Misleading error message when current user not in /etc/passwd