From: Kaloyan Iliev Iliev <news1@faith.digsys.bg>
To: pgsql-sql@postgresql.org
Subject: Inheriting text[] field
Date: Mon, 16 Aug 2004 10:06:07 +0300
Message-ID: <41205CDF.1090403@faith.digsys.bg> (raw)
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.
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: news1@faith.digsys.bg
Subject: Re: Inheriting text[] field
In-Reply-To: <41205CDF.1090403@faith.digsys.bg>
* 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