Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 69C5FB5DBE8 for ; Tue, 24 May 2011 08:06:02 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 71122-04 for ; Tue, 24 May 2011 11:05:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from paragoncorporation.com (mail.paragoncorporation.com [69.38.152.75]) by mail.postgresql.org (Postfix) with ESMTP id 946CBB5D90E for ; Tue, 24 May 2011 08:05:51 -0300 (ADT) Received: from J by paragoncorporation.com (MDaemon PRO v11.0.1) with ESMTP id md50005931858.msg for ; Tue, 24 May 2011 07:06:18 -0400 X-Spam-Processed: paragoncorporation.com, Tue, 24 May 2011 07:06:18 -0400 (not processed: message from trusted or authenticated source) X-Authenticated-Sender: lr@pcorp.us X-Return-Path: lr@pcorp.us X-Envelope-From: lr@pcorp.us X-MDaemon-Deliver-To: pgsql-bugs@postgresql.org From: "Paragon Corporation" To: Subject: PostgreSQL 9.1beta 1 Some domains not being able to be auto cast to their base type Date: Tue, 24 May 2011 07:05:22 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcwaAnnfhha8XjyrQRmgzZqkgXC0Gw== X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7601.17574 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201105/172 X-Sequence-Number: 30311 In regression testing PostGIS 2.0, our topology module regression tests are failing in PostgreSQL 9.1 beta. We have a PostGIS ticket open for it here, but we suspect it's a PostgreSQL 9.1 bug and would like to close it out. http://trac.osgeo.org/postgis/ticket/980 Our domain type is defined as: CREATE DOMAIN topoelementarray AS integer[][] CONSTRAINT dimensions CHECK ((((array_upper(VALUE, 2) IS NOT NULL) AND (array_upper(VALUE, 2) = 2)) AND (array_upper(VALUE, 3) IS NULL))); If I try this in PostgreSQL 9.1 beta1: SELECT array_upper(ARRAY[ARRAY[1,2], ARRAY[3,4]]::topoelementarray,1); I get error: function array_upper(topoelementarray, integer) does not exist In my PostgreSQL 9.0 and 8.4 the above operation works fine. Thanks, Regina