Re: [GENERAL] psql HTML mode - quoting HTML characters

2011-10-26 Thread Nicholson, Brad (Toronto, ON, CA)
> -Original Message- > From: Josh Kupershmidt [mailto:schmi...@gmail.com] > Sent: Wednesday, October 26, 2011 5:04 PM > To: Nicholson, Brad (Toronto, ON, CA) > Cc: pgsql-general@postgresql.org > Subject: Re: [GENERAL] psql HTML mode - quoting HTML characters > > O

Re: [GENERAL] psql HTML mode - quoting HTML characters

2011-10-26 Thread Josh Kupershmidt
On Wed, Oct 26, 2011 at 3:51 PM, Nicholson, Brad (Toronto, ON, CA) 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 pri

[GENERAL] psql HTML mode - quoting HTML characters

2011-10-26 Thread Nicholson, Brad (Toronto, ON, CA)
Hi, How do I quote characters like < and > in psql's HTML mode? For example: Regular mode: postgres=# select 'http://www.postgresql.org>Postgres'; ?column? http://www.postgresql.org>Postgres (1 row) HTML mode: postgres=# \H