Обсуждение: Incorrect inner type representation in type view

Поиск
Список
Период
Сортировка

Incorrect inner type representation in type view

От
Valentine Gogichashvili
Дата:
Running on Version 1.12.0 Beta4 (Jul 30 2010 rev: REL-1_12_0_BETA4)

Imagine such a type definition:

CREATE SCHEMA test_schema;
CREATE TYPE test_schema.inner_record_type AS  (a text,   b integer);
CREATE TYPE test_schema.outer_record_type AS  (status integer,   result_array test_schema.inner_record_type[]);

This leads to the invalid type source definition in pgAdmin's type
subtree view:

CREATE TYPE test_schema.outer_record_type AS  (status integer,   result_array
test_schema."test_schema.inner_record_type"[]);


Re: Incorrect inner type representation in type view

От
Guillaume Lelarge
Дата:
Le 30/08/2010 13:45, Valentine Gogichashvili a écrit :
> Running on Version 1.12.0 Beta4 (Jul 30 2010 rev: REL-1_12_0_BETA4)
> 
> Imagine such a type definition:
> 
> CREATE SCHEMA test_schema;
> CREATE TYPE test_schema.inner_record_type AS
>    (a text,
>     b integer);
> CREATE TYPE test_schema.outer_record_type AS
>    (status integer,
>     result_array test_schema.inner_record_type[]);
> 
> This leads to the invalid type source definition in pgAdmin's type
> subtree view:
> 
> CREATE TYPE test_schema.outer_record_type AS
>    (status integer,
>     result_array test_schema."test_schema.inner_record_type"[]);
> 

Thanks for your report. I fixed this issue. It should be available in
the next 1.12 (perhaps the final one).


-- 
Guillaumehttp://www.postgresql.frhttp://dalibo.com