Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V6k6f-0006Kb-VS for pgsql-bugs@arkaria.postgresql.org; Tue, 06 Aug 2013 16:27:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V6k6f-0002RO-7B for pgsql-bugs@arkaria.postgresql.org; Tue, 06 Aug 2013 16:27:33 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V6k6e-0002RF-Ia for pgsql-bugs@postgresql.org; Tue, 06 Aug 2013 16:27:32 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V6k6X-0006TA-P9 for pgsql-bugs@postgresql.org; Tue, 06 Aug 2013 16:27:32 +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 r76GRJeI030473; Tue, 6 Aug 2013 12:27:20 -0400 From: Tom Lane To: koizumistr@minos.ocn.ne.jp cc: pgsql-bugs@postgresql.org, Jeff Davis Subject: Re: BUG #8367: wrong example in 8.17.10 In-reply-to: References: Comments: In-reply-to koizumistr@minos.ocn.ne.jp message dated "Tue, 06 Aug 2013 16:02:29 -0000" Date: Tue, 06 Aug 2013 12:27:19 -0400 Message-ID: <30472.1375806439@sss.pgh.pa.us> X-Pg-Spam-Score: -0.0 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org koizumistr@minos.ocn.ne.jp writes: > In 8.17.10 "Constraints on Ranges" of PostgreSQL 9.2.4 Documentation, a > constraint will prevent the overlapping values in an example. > But in the example, range [2010-01-01 11:30, 2010-01-01 13:00) and range > [2010-01-01 14:45, 2010-01-01 15:45) do not overlap. No, but the second one overlaps with the range value shown in 8.17.2. So this is correct if it's understood as a continuation of that example. Still, it's kind of a long way from 8.17.2 to 8.17.10. It might be better if this section were recast to use a standalone example --- Jeff, what do you think? regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs