Inheriting text[] field

Поиск
Список
Период
Сортировка
От Kaloyan Iliev Iliev
Тема Inheriting text[] field
Дата
Msg-id 41205CDF.1090403@faith.digsys.bg
обсуждение исходный текст
Ответы Re: Inheriting text[] field  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Dear Friend,

I have the following problem when I try to inherits one table with 
text[] field into another.
I am useing PostgreSQL 7.2.3.
I suppose that this  is a BUG but I am not sure.
Any ides.
10x in advance.
 Kaloyan

test_libvar=# create table temp_a(
test_libvar(# name text[]
test_libvar(# );
CREATE
test_libvar=# create table temp( name text[] ) inherits (temp_a);
NOTICE:  CREATE TABLE: merging attribute "name" with inherited definition
ERROR:  CREATE TABLE: attribute "name" type conflict (_text and text)

P.S. I know that I can avoid this by scipping the 'name' field into the 
second table but what if I need to set some CONSTRAINTS to it.


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

Предыдущее
От: Andreas Seltenreich
Дата:
Сообщение: Re: COMMENT ON CONSTRAINT
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: duplicate table in two databases