array column problem

Поиск
Список
Период
Сортировка
От Dax Duskin
Тема array column problem
Дата
Msg-id 86256A0D.00624E90.00@zsserver3.zsassociates.com
обсуждение исходный текст
Список pgsql-novice
Hi all,

I'm having some trouble setting a column to use arrays.

Here's an example of what I am trying to do:

create table tablename (index INTEGER, numarray INTEGER[]);

insert into tablename values(1, {1,2,3});

I receive the "Parser error at or near '{'" error.

Any ideas?  I pretty much copied the format out of Momijan's book.

thanks,
dax duskin



В списке pgsql-novice по дате отправления:

Предыдущее
От: "Anthony E . Greene"
Дата:
Сообщение: Re: Run Time Variables
Следующее
От: "Constantin"
Дата:
Сообщение: check for table existence before dropping