| От | Pavel Stehule |
|---|---|
| Тема | Re: how to use array with "holes" ? |
| Дата | |
| Msg-id | 162867790706010323h1ead51f8r7a8652ee888c780d@mail.gmail.com обсуждение |
| Ответ на | Re: how to use array with "holes" ? (Anton <anton200@gmail.com>) |
| Ответы |
Re: how to use array with "holes" ?
|
| Список | pgsql-general |
> > May I ask some more complex? I want to use ONE multidimensial array - > the "id", "bytes_in" and "bytes_out". By another words, I need an > array, each element of which must contain 3 values: ttc_id, bytes_in, > bytes_out. > > I think it can be done like this: > It's problem. You have to wait for 8.3 where composite types in arrays are supported, or simply use three array variables (or use plperl or plpython). Arrays in plpgsql can be slow, if you often update big arrays.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера