Array issue....

Поиск
Список
Период
Сортировка
От dba
Тема Array issue....
Дата
Msg-id 1297684312397-3384334.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: Array issue....
Re: Array issue....
Список pgsql-bugs
I wanted to create index 0f 3 numeric array. But it is allowing to insert
more than 4 elements

CREATE TABLE abs(no int[3]);
CREATE TABLE

zivah=# INSERT INTO abs VALUES('{1,3,34,343,4342342,342}');
INSERT 0 1

I need a solution to store an elements exactly 3. More than 3 should not be
allowed.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Array-issue-tp3384334p3384334.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

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

Предыдущее
От: ""
Дата:
Сообщение: BUG #5883: Error when mixing SPI_returntuple with returning regular HeapTuple
Следующее
От: Chetan Suttraway
Дата:
Сообщение: Re: Array issue....