Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaYtc-0000Wd-Lp for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Apr 2014 23:05:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WaYtc-0006BJ-31 for pgsql-bugs@arkaria.postgresql.org; Wed, 16 Apr 2014 23:05:36 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaYta-00069q-Sn for pgsql-bugs@postgresql.org; Wed, 16 Apr 2014 23:05:35 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WaYtT-0006YA-F1 for pgsql-bugs@postgresql.org; Wed, 16 Apr 2014 23:05:34 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1WaYtS-0002t3-ON; Wed, 16 Apr 2014 19:05:26 -0400 Date: Wed, 16 Apr 2014 19:05:26 -0400 From: Bruce Momjian 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 Message-ID: <20140416230526.GM7443@momjian.us> References: <20140131003159.13610.84214@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140131003159.13610.84214@wrigleys.postgresql.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.6 (--) 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 On Fri, Jan 31, 2014 at 12:31:59AM +0000, lr@pcorp.us wrote: > The following bug has been logged on the website: > > Bug reference: 9046 > Logged by: Regina Obe > Email address: lr@pcorp.us > PostgreSQL version: 9.3.2 > Operating system: Windows 2003 x 64 PostgreSQL x 64 > Description: > > 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; > > > Get error: > ERROR: type 920283 is not a range type I am not able to reproduce this failure in 9.3.4. I suggest you upgrade. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs