data types

From: Tony Grant <tony(at)animaproductions(dot)com>
To: postgres list <pgsql-general(at)postgresql(dot)org>
Subject: data types
Date: 2001-08-08 13:15:33
Message-ID: 997276534.5926.14.camel@tonux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I posted a question on JDBC yesterday because I was having data typing
problmes. But it is not a JDBC problem...

I am trying to populate an array

CREATE TABLE festival (
festivalID INTEGER PRIMARY KEY,
filmID INTEGER[] REFERENCES films
);

festivalID = 1998 etc.
filmID = {212, 104, xxx}

any attempt to insert data gives

"Unable to identify an operator '=' for types 'int4' and '_int4'"

Where did the _int4 type come from? How do I work around this?

TIA

Cheers

Tony Grant

--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tony Grant 2001-08-08 13:40:22 Re: data types
Previous Message Allan Engelhardt 2001-08-08 10:22:31 Re: Re: Still wondering about random numbers...