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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-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

Browse pgsql-docs by date

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

Browse pgsql-hackers by date

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