Skip site navigation (1) Skip section navigation (2)

Re: Code examples

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-docs(at)postgresql(dot)org, Decibel! <decibel(at)decibel(dot)org>,Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>,Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Subject: Re: Code examples
Date: 2007-09-04 15:04:08
Message-ID: 200709041704.09380.peter_e@gmx.net (view raw or flat)
Thread:
Lists: pgsql-docspgsql-hackers
Am Dienstag, 4. September 2007 16:11 schrieb Tom Lane:
> &, <, and > need to be hacked so that SGML doesn't barf on them.
> Unfortunately, all three symbols are a bit commonplace in C code.

I assume that someone who wants to try out the code would copy it from the 
HTML, not out of the SGML source.

But in any case you can avoid the escaping like so:

<![CDATA[
... code ...
]]>

Grep for existing uses.

The idea of including the C files directly could also work.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

pgsql-docs by date

Next:From: Pavel StehuleDate: 2007-09-04 15:18:16
Subject: Re: tsearch filenames unlikes special symbols and numbers
Previous:From: Alvaro HerreraDate: 2007-09-04 14:36:40
Subject: Re: Code examples

pgsql-hackers by date

Next:From: korry.douglasDate: 2007-09-04 15:04:23
Subject: Re: Has anyone tried out the PL/pgSQL debugger?
Previous:From: Devrim GÜNDÜZDate: 2007-09-04 15:01:08
Subject: Re: Has anyone tried out the PL/pgSQL debugger?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group