| От | Tom Lane |
|---|---|
| Тема | Re: sort a referenced list |
| Дата | |
| Msg-id | 18312.1144157353@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: sort a referenced list (Matthew Peter <survivedsushi@yahoo.com>) |
| Ответы |
Re: sort a referenced list
|
| Список | pgsql-general |
Matthew Peter <survivedsushi@yahoo.com> writes:
> What I'm trying to do is create a function that accepts a list then sorts and groups the values (like in sql)... I
willhave an unique list I can convert it to an array later or leave it a list
There is no "list" data structure in SQL. There are tables, and there
are arrays, but it's not especially easy to pass an arbitrary table
value to a function. So you almost certainly need to define your
problem as "create a function that accepts an array then ...".
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера