Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id C94A19F9D32 for ; Tue, 4 Sep 2007 13:38:17 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 32864-08 for ; Tue, 4 Sep 2007 13:38:10 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sn.sai.msu.ru (sn.sai.msu.ru [195.208.220.215]) by postgresql.org (Postfix) with ESMTP id 607D49F9FEF for ; Tue, 4 Sep 2007 13:38:11 -0300 (ADT) Received: from sn.sai.msu.ru (localhost [127.0.0.1]) by sn.sai.msu.ru (8.12.8/8.12.8) with ESMTP id l84Gbu7b012076; Tue, 4 Sep 2007 20:37:56 +0400 Received: from localhost (megera@localhost) by sn.sai.msu.ru (8.12.8/8.12.8/Submit) with ESMTP id l84GbmZk012067; Tue, 4 Sep 2007 20:37:48 +0400 X-Authentication-Warning: sn.sai.msu.ru: megera owned process doing -bs Date: Tue, 4 Sep 2007 20:37:47 +0400 (MSD) From: Oleg Bartunov X-X-Sender: megera@sn.sai.msu.ru To: Tom Lane cc: Alvaro Herrera , Peter Eisentraut , pgsql-docs@postgresql.org, Decibel! , Pavel Stehule Subject: Re: Code examples In-Reply-To: <26291.1188922754@sss.pgh.pa.us> Message-ID: References: <162867790709021328i7771aa9jfe79268bccbf123d@mail.gmail.com> <200709040229.29591.peter_e@gmx.net> <6062.1188866394@sss.pgh.pa.us> <200709041101.54641.peter_e@gmx.net> <24261.1188915090@sss.pgh.pa.us> <20070904143640.GF6466@alvh.no-ip.org> <26291.1188922754@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/9 X-Sequence-Number: 4407 On Tue, 4 Sep 2007, Tom Lane wrote: > Alvaro Herrera writes: >> Maybe we could set things up so that there are actual files which are >> programatically preprocessed to SGML to be included in the docs? That >> way, the docs always reflect the actual file, which by itself is >> compilable. The SGML source would only contain something like >> or something like that. > > Well, if we have actual contrib modules (which is still a good idea > so that they get tested on a regular basis), I don't see any need to > copy the code into the docs at all. The docs should just say "a working > example can be found in contrib/whatever". I thin Tom is right. We already have many user's dictionaries which would be worth to distribute. > > regards, tom lane > Regards, Oleg _____________________________________________________________ Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru), Sternberg Astronomical Institute, Moscow University, Russia Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/ phone: +007(495)939-16-83, +007(495)939-23-83