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

Re: Code examples

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
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 14:11:30
Message-ID: 24261.1188915090@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-docspgsql-hackers
Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Responses

pgsql-docs by date

Next:From: Alvaro HerreraDate: 2007-09-04 14:36:40
Subject: Re: Code examples
Previous:From: Tom LaneDate: 2007-09-04 13:53:01
Subject: Re: tsearch filenames unlikes special symbols and numbers

pgsql-hackers by date

Next:From: Devrim GÜNDÜZDate: 2007-09-04 14:26:56
Subject: Re: Has anyone tried out the PL/pgSQL debugger?
Previous:From: korry.douglasDate: 2007-09-04 14:07:40
Subject: Has anyone tried out the PL/pgSQL debugger?

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