Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VpR7k-0005ej-0H for pgsql-bugs@arkaria.postgresql.org; Sat, 07 Dec 2013 23:17:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VpR7j-0002xk-1Z for pgsql-bugs@arkaria.postgresql.org; Sat, 07 Dec 2013 23:17:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp5N7-0000Pb-UM for pgsql-bugs@postgresql.org; Sat, 07 Dec 2013 00:03:49 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp5N4-0004s2-P3 for pgsql-bugs@postgresql.org; Sat, 07 Dec 2013 00:03:49 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by mahout.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vp5N2-00083h-RL for pgsql-bugs@postgresql.org; Sat, 07 Dec 2013 00:03:45 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.80) (envelope-from ) id 1Vp5Mw-00089V-Mm for pgsql-bugs@postgresql.org; Sat, 07 Dec 2013 00:03:38 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: BUG #8662: psql -H and ts_headline To: pgsql-bugs@postgresql.org From: cbfgterfdy@zacglen.net Message-Id: Date: Sat, 07 Dec 2013 00:03:38 +0000 X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 8662 Logged by: JW Email address: cbfgterfdy@zacglen.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. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs