Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id E80159FA01D for ; Tue, 4 Sep 2007 12:04:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 53359-03-4 for ; Tue, 4 Sep 2007 12:04:18 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from gauss.credativ.com (gauss.credativ.com [212.112.227.254]) by postgresql.org (Postfix) with ESMTP id 787A19F9FEF for ; Tue, 4 Sep 2007 12:04:18 -0300 (ADT) Received: from hawking.credativ.lan (exit.credativ.com [87.139.82.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gauss.credativ.com (Postfix) with ESMTP id DC4D077599; Tue, 4 Sep 2007 16:56:31 +0200 (CEST) From: Peter Eisentraut To: Tom Lane Subject: Re: Code examples Date: Tue, 4 Sep 2007 17:04:08 +0200 User-Agent: KMail/1.9.5 Cc: pgsql-docs@postgresql.org, Decibel! , Oleg Bartunov , Pavel Stehule References: <162867790709021328i7771aa9jfe79268bccbf123d@mail.gmail.com> <200709041101.54641.peter_e@gmx.net> <24261.1188915090@sss.pgh.pa.us> In-Reply-To: <24261.1188915090@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709041704.09380.peter_e@gmx.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/7 X-Sequence-Number: 4405 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: Grep for existing uses. The idea of including the C files directly could also work. -- Peter Eisentraut http://developer.postgresql.org/~petere/