Re: array_in: '{}}'::text[]

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: array_in: '{}}'::text[]
Дата
Msg-id 412A384C.5000907@joeconway.com
обсуждение исходный текст
Ответ на array_in: '{}}'::text[]  (Markus Bertheau <twanger@bluetwanger.de>)
Список pgsql-sql
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
---------------------------------------------------------------------------------------------------------------------
PostgreSQL8.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


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Cavit Keskin"
Дата:
Сообщение: TSearch2 other languages
Следующее
От: Joe Conway
Дата:
Сообщение: Re: reply to setting