X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3EE4B5E3639 for ; Mon, 23 Aug 2004 15:32:57 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 34512-08 for ; Mon, 23 Aug 2004 18:32:47 +0000 (GMT) Received: from joeconway.com (66-146-172-86.skyriver.net [66.146.172.86]) by svr1.postgresql.org (Postfix) with ESMTP id DD92A5E3632 for ; Mon, 23 Aug 2004 15:32:45 -0300 (ADT) Received: from [206.19.64.3] (account jconway HELO [172.16.1.115]) by joeconway.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 2139154; Mon, 23 Aug 2004 11:24:59 -0700 Message-ID: <412A384C.5000907@joeconway.com> Date: Mon, 23 Aug 2004 11:32:44 -0700 From: Joe Conway User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Bertheau Cc: pgsql-sql@postgresql.org Subject: Re: array_in: '{}}'::text[] References: <1093261555.2647.6.camel@dicaprio.akademie1.de> In-Reply-To: <1093261555.2647.6.camel@dicaprio.akademie1.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/245 X-Sequence-Number: 18742 Markus Bertheau wrote: > Is there a reason the array_in parser accepts additional closing braces > at the end? > > oocms=# SELECT '{}}'::text[]; > text > ------ > {} > (1 запись) Hmmm, I was *about* to say that this is fixed in cvs (and indeed, the array_in parser is significantly tightened up compared to previous releases), but unfortunately, there is still work to be done :( regression=# SELECT '{}}'::text[]; text ------ {} (1 row) regression=# select version(); version --------------------------------------------------------------------------------------------------------------------- PostgreSQL 8.0.0beta1 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7) (1 row) Look for a fix soon, at a cvs repository near you.... Joe