data types

Поиск
Список
Период
Сортировка
От Tony Grant
Тема data types
Дата
Msg-id 997276534.5926.14.camel@tonux
обсуждение исходный текст
Ответы Re: data types  (Martijn van Oosterhout <kleptog@svana.org>)
Список 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 по дате отправления:

Предыдущее
От: Allan Engelhardt
Дата:
Сообщение: Re: Re: Still wondering about random numbers...
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: data types