Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d1akn-0003eL-Ll for pgsql-docs@arkaria.postgresql.org; Fri, 21 Apr 2017 15:45:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d1akn-000406-8d for pgsql-docs@arkaria.postgresql.org; Fri, 21 Apr 2017 15:45:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d1akP-0003Kv-MH for pgsql-docs@postgresql.org; Fri, 21 Apr 2017 15:45:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d1akK-00034E-49 for pgsql-docs@postgresql.org; Fri, 21 Apr 2017 15:45:24 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v3LFjGjq015517; Fri, 21 Apr 2017 11:45:16 -0400 From: Tom Lane To: Christophe Courtois cc: pgsql-docs@postgresql.org Subject: Re: intagg.sgml: example wrongly named and does not compile In-reply-to: References: Comments: In-reply-to Christophe Courtois message dated "Fri, 21 Apr 2017 17:12:58 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15515.1492789516.1@sss.pgh.pa.us> Date: Fri, 21 Apr 2017 11:45:16 -0400 Message-ID: <15516.1492789516@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Christophe Courtois writes: > I've found out that the example in intagg.sgml is wrongly named: the > one-to-many table is a many-to-many. Well, it'd depend on how it was used. The example clearly intends that it be one-to-many, and I'm not sure it still makes sense without that restriction. Maybe better to add a unique constraint on one_to_many(left)? > And my colleague Thibaut Madeleine has seen that the "CREATE TABLE > right" and "CREATE TABLE left" examples cannot compile due to the > reserved words. Ouch. Shows you how old this module is :-( > I propose the attached patch to fix that. Um, the attached file seems empty from here. regards, tom lane -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs