From: Joe Conway <mail@joeconway.com>
To: Markus Bertheau <twanger@bluetwanger.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: array_in: '{}}'::text[]
Date: Mon, 23 Aug 2004 11:32:44 -0700
Message-ID: <412A384C.5000907@joeconway.com> (raw)
In-Reply-To: <1093261555.2647.6.camel@dicaprio.akademie1.de>
References: <1093261555.2647.6.camel@dicaprio.akademie1.de>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: mail@joeconway.com, twanger@bluetwanger.de
Subject: Re: array_in: '{}}'::text[]
In-Reply-To: <412A384C.5000907@joeconway.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox