Inheriting text[] field - Mailing list pgsql-sql

From Kaloyan Iliev Iliev
Subject Inheriting text[] field
Date
Msg-id 41205CDF.1090403@faith.digsys.bg
Whole thread Raw
Responses Re: Inheriting text[] field  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Andreas Seltenreich
Date:
Subject: Re: COMMENT ON CONSTRAINT
Next
From: Richard Huxton
Date:
Subject: Re: duplicate table in two databases