Re: Function returning 2 columns evaluated twice when both columns are needed
В списке pgsql-general по дате отправления:
| От | Gerhard Wiesinger |
|---|---|
| Тема | Re: Function returning 2 columns evaluated twice when both columns are needed |
| Дата | |
| Msg-id | alpine.LFD.2.00.0910191948350.15288@bbs.intern обсуждение |
| Ответ на | Re: Function returning 2 columns evaluated twice when both columns are needed (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Function returning 2 columns evaluated twice when both columns are needed
Re: Function returning 2 columns evaluated twice when both columns are needed |
| Список | pgsql-general |
On Mon, 19 Oct 2009, Tom Lane wrote: > Gerhard Wiesinger <lists@wiesinger.com> writes: >> On Sun, 18 Oct 2009, Tom Lane wrote: >>> The OFFSET bit is a kluge, but is needed to keep the planner from >>> flattening the subquery and undoing your work. > >> Thnx Tom. It also works without the OFFSET kludge. Any ideas why? > > Probably because you have the function declared VOLATILE. > None of the function is declared VOLATILE. Any other idea? Thnx. Ciao, Gerhard -- http://www.wiesinger.com/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера