pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-docs@postgresql.org, Decibel! <decibel@decibel.org>
Cc: Oleg Bartunov <oleg@sai.msu.su>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Subject: Re: Code examples
Date: Tue, 04 Sep 2007 10:11:30 -0400
Message-ID: <24261.1188915090@sss.pgh.pa.us> (raw)
In-Reply-To: <200709041101.54641.peter_e@gmx.net>
References: <162867790709021328i7771aa9jfe79268bccbf123d@mail.gmail.com>
	<200709040229.29591.peter_e@gmx.net>
	<6062.1188866394@sss.pgh.pa.us>
	<200709041101.54641.peter_e@gmx.net>

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



view thread (9+ messages)  latest in thread

Message-ID: <24261.1188915090@sss.pgh.pa.us>
Permalink:  ../24261.1188915090@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24261.1188915090@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter_e@gmx.net, decibel@decibel.org, oleg@sai.msu.su, pavel.stehule@gmail.com
  Subject: Re: Code examples
  In-Reply-To: <24261.1188915090@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox