Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W921f-0003pi-2I for pgsql-bugs@arkaria.postgresql.org; Fri, 31 Jan 2014 00:32:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W921e-0005s4-08 for pgsql-bugs@arkaria.postgresql.org; Fri, 31 Jan 2014 00:32:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W921d-0005rx-0b for pgsql-bugs@postgresql.org; Fri, 31 Jan 2014 00:32:05 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W921a-0001jp-8K for pgsql-bugs@postgresql.org; Fri, 31 Jan 2014 00:32:04 +0000 MIME-Version: 1.0 Subject: BUG #9046: vacuum analyze fails on a table that has domain that is a date rage To: pgsql-bugs@postgresql.org From: lr@pcorp.us Date: Fri, 31 Jan 2014 00:31:59 +0000 Message-ID: <20140131003159.13610.84214@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.9 (-) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs