X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B37169DC99A; Wed, 22 Feb 2006 20:50:09 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 08261-10; Wed, 22 Feb 2006 20:50:12 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 368559DC98E; Wed, 22 Feb 2006 20:50:06 -0400 (AST) Received: by noel.decibel.org (Postfix, from userid 1001) id D7F025642F; Wed, 22 Feb 2006 18:50:32 -0600 (CST) Received: (hashcash-sendmail, from uid 1001); Wed, 22 Feb 2006 18:50:32 -0600 Date: Wed, 22 Feb 2006 18:50:32 -0600 From: "Jim C. Nasby" To: Mark Kirkwood Cc: pgsql-patches@postgresql.org, pgsql-docs@postgresql.org Subject: Re: [PATCHES] Summary table trigger example race condition Message-ID: <20060223005032.GR86022@pervasive.com> References: <20060105213645.GY43311@pervasive.com> <43BDC132.90007@paradise.net.nz> <20060106030415.GL43311@pervasive.com> <43BDE812.5000103@paradise.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43BDE812.5000103@paradise.net.nz> X-Operating-System: FreeBSD 6.0-RELEASE-p4 amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Hashcash: 1:20:060223:markir@paradise.net.nz::wGOiJGMwoEoKha70:000000000000000 0000000000000000000000001nKh X-Hashcash: 1:20:060223:pgsql-patches@postgresql.org::1fRfoVZFFUe3O00i:000000000 0000000000000000000000001DvN X-Hashcash: 1:20:060223:pgsql-docs@postgresql.org::Or3TGHoOshXaaEwO:000000000000 0000000000000000000000003Pwx X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.105 required=5 tests=[AWL=0.105] X-Spam-Score: 0.105 X-Spam-Level: X-Archive-Number: 200602/14 X-Sequence-Number: 3454 On Fri, Jan 06, 2006 at 04:46:26PM +1300, Mark Kirkwood wrote: > Jim C. Nasby wrote: > >On Fri, Jan 06, 2006 at 02:00:34PM +1300, Mark Kirkwood wrote: > > > >>However, I think the actual change is not quite right - after running > > > > > >DOH! It would be good if doc/src had a better mechanism for handling > >code; one that would allow for writing the code natively (so you don't > >have to worry about translating < into < and > into >) and for > >unit testing the different pieces of code. > > > > Yes it would - I usually build the SGML -> HTML, then cut the code out > of a browser session to test - the pain is waiting for the docs to build. Ok, here's some *Uber Ugly* code I hacked together to do something similar for a potential book project. It's based loosely on docbook. -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461