data types - Mailing list pgsql-general

From Tony Grant
Subject data types
Date
Msg-id 997276534.5926.14.camel@tonux
Whole thread Raw
Responses Re: data types
List 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


pgsql-general by date:

Previous
From: Allan Engelhardt
Date:
Subject: Re: Re: Still wondering about random numbers...
Next
From: Martijn van Oosterhout
Date:
Subject: Re: data types