Re: Code examples - Mailing list pgsql-docs

From Tom Lane
Subject Re: Code examples
Date
Msg-id 24261.1188915090@sss.pgh.pa.us
Whole thread Raw
In response to Re: Code examples  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Code examples  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: Code examples  (Peter Eisentraut <peter_e@gmx.net>)
extract('dow', ...) mention  ("Erik Rijkers" <er@xs4all.nl>)
List pgsql-docs
Peter Eisentraut <peter_e@gmx.net> writes:
> Am Dienstag, 4. September 2007 02:39 schrieb Tom Lane:
>> C code that's been hacked until it passes for SGML isn't compilable.

> I don't understand this point.  Why would SGML care what the C code looks
> like?

&, <, and > need to be hacked so that SGML doesn't barf on them.
Unfortunately, all three symbols are a bit commonplace in C code.

Now admittedly this can be fixed with moderately simple
search-and-replaces, but it's still another obstacle in the path of
someone who actually wishes to use the code for its intended purpose,
or even someone who would like to find out if the examples aren't
broken.

            regards, tom lane

pgsql-docs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Code examples
Next
From: Alvaro Herrera
Date:
Subject: Re: Code examples