BUG #8662: psql -H and ts_headline

From: cbfgterfdy(at)zacglen(dot)net
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #8662: psql -H and ts_headline
Date: 2013-12-07 00:03:38
Message-ID: E1Vp5Mw-00089V-Mm@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 8662
Logged by: JW
Email address: cbfgterfdy(at)zacglen(dot)net
PostgreSQL version: 9.2.4
Operating system: Linux
Description:

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.

One can pipe the psql output through sed and undo the special character
conversion. But it would perhaps be nicer if there was some way of allowing
embedded html in results if so wanted.

The html output doesn't have any escaping mechanism what-so-ever.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Mark Kirkwood 2013-12-07 04:01:15 Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs
Previous Message Vitaly Tskhovrebov 2013-12-06 23:36:35 Re: BUG #8659: Broken dependencies on RHEL6 for 9.2.6 RPMs