| От | Tom Lane |
|---|---|
| Тема | Re: Should array_length() Return NULL |
| Дата | |
| Msg-id | 1182.1363387349@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Should array_length() Return NULL ("David E. Wheeler" <david@justatheory.com>) |
| Ответы |
Re: Should array_length() Return NULL
|
| Список | pgsql-hackers |
"David E. Wheeler" <david@justatheory.com> writes:
> Oh. Is there a way to declare an empty 1-dimension array?
Doesn't look like it:
regression=# select '[1:0]={}'::text[];
ERROR: upper bound cannot be less than lower bound
LINE 1: select '[1:0]={}'::text[]; ^
Possibly we should allow that, but just as with the other point, it
would require some thought and investigation to make sure we weren't
creating more problems than we solved.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера