Re: psql HTML mode - quoting HTML characters

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: "Nicholson, Brad (Toronto, ON, CA)" <bnicholson(at)hp(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql HTML mode - quoting HTML characters
Date: 2011-10-26 21:03:42
Message-ID: CAK3UJREh9hm1quFZWQGW73xPwNej7R=dysG6SCU6NhPv+5t86w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Oct 26, 2011 at 3:51 PM, Nicholson, Brad (Toronto, ON, CA)
<bnicholson(at)hp(dot)com> wrote:
> How do I quote characters like < and > in psql's HTML mode?

From a brief look at print_html_text() and html_escaped_print() in
psql's print.c, I don't see any way to tell psql not to escape some
block of text in HTML print mode.

Out of curiosity, what do you find psql's HTML mode useful for?

Josh

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nicholson, Brad (Toronto, ON, CA) 2011-10-26 21:08:07 Re: psql HTML mode - quoting HTML characters
Previous Message Darin Perusich 2011-10-26 21:00:53 specifying multiple ldapserver in pg_hba.conf