| От | Tom Lane |
|---|---|
| Тема | Re: patch adding new regexp functions |
| Дата | |
| Msg-id | 24844.1171553663@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: patch adding new regexp functions (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-patches |
Peter Eisentraut <peter_e@gmx.net> writes:
> Jeremy Drake wrote:
>> # My experience with the array code leads me to believe that building
>> up an array is an expensive proposition. I know I could code it
>> smarter so that the array is only constructed in the end.
> You can make any code arbitrarily fast if it doesn't have to give the
> right answer.
Even more to the point, it's folly to suppose that the overhead of
processing a SETOF result is less than that of array construction.
I tend to agree with Peter's concern that returning a set is going to
make it hard to track which result is which.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера