Is there an upper limit on the size of an array if it is indexed?
В списке pgsql-sql по дате отправления:
| От | AlexK |
|---|---|
| Тема | Is there an upper limit on the size of an array if it is indexed? |
| Дата | |
| Msg-id | 1393273817988-5793380.post@n5.nabble.com обсуждение исходный текст |
| Ответы |
Re: Is there an upper limit on the size of an array if it is
indexed?
Re: Is there an upper limit on the size of an array if it is indexed? |
| Список | pgsql-sql |
I have created a unique index on an array of integers, and it works for a small test case: create table i(id int not null primary key, v int[] not null unique ); insert into i(id, v) values(1, ARRAY[1,2]); -- fails insert into i(id, v) values(2, ARRAY[1,2]); -- succeeds insert into i(id, v) values(2, ARRAY[2,1]); Is there an upper limit on the size of an array being indexed? I am currently considering arrays of 2K-3K integers. -- View this message in context: http://postgresql.1045698.n5.nabble.com/Is-there-an-upper-limit-on-the-size-of-an-array-if-it-is-indexed-tp5793380.html Sent from the PostgreSQL - sql mailing list archive at Nabble.com.
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера