Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W9280-000435-NX for pgsql-bugs@arkaria.postgresql.org; Fri, 31 Jan 2014 00:38:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W9280-00013m-6n for pgsql-bugs@arkaria.postgresql.org; Fri, 31 Jan 2014 00:38:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W927z-00012c-5q for pgsql-bugs@postgresql.org; Fri, 31 Jan 2014 00:38:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W927w-0001po-KO for pgsql-bugs@postgresql.org; Fri, 31 Jan 2014 00:38:38 +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 s0V0cZjs027360; Thu, 30 Jan 2014 19:38:35 -0500 From: Tom Lane To: lr@pcorp.us cc: pgsql-bugs@postgresql.org Subject: Re: BUG #9046: vacuum analyze fails on a table that has domain that is a date rage In-reply-to: <20140131003159.13610.84214@wrigleys.postgresql.org> References: <20140131003159.13610.84214@wrigleys.postgresql.org> Comments: In-reply-to lr@pcorp.us message dated "Fri, 31 Jan 2014 00:31:59 +0000" Date: Thu, 30 Jan 2014 19:38:35 -0500 Message-ID: <27359.1391128715@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) 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 lr@pcorp.us writes: > Here are steps to recreate: > CREATE DOMAIN domain_period > AS daterange > DEFAULT daterange('-infinity'::date, 'infinity'::date, '[)'::text) > NOT NULL > CONSTRAINT domain_period_check_1 CHECK (lower(VALUE) < upper(VALUE)) > CONSTRAINT domain_period_check_2 CHECK (NOT isempty(VALUE)) > CONSTRAINT domain_period_check_3 CHECK (lower_inc(VALUE)) > CONSTRAINT domain_period_check_4 CHECK (NOT upper_inc(VALUE)); > CREATE TABLE test_domain_period(id serial, period domain_period); > vacuum analyze test_domain_period; Works for me in git head. I think this is the same problem reported in bug #8684, and fixed at commit 663f8419b. 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