| От | Thomas Kellerer |
|---|---|
| Тема | Re: Combining several CTEs with a recursive CTE |
| Дата | |
| Msg-id | j5a9dt$9hc$1@dough.gmane.org обсуждение исходный текст |
| Ответ на | Re: Combining several CTEs with a recursive CTE (David Johnston <polobo@yahoo.com>) |
| Ответы |
handling duplicate row exception
|
| Список | pgsql-sql |
David Johnston, 20.09.2011 16:15: >> I'm just wondering if this is intended behavioury, simply not (yet) >> implemented or even invalid according to the standard? I didn't >> find any reference that it's not allowed in the manual. >> >> Regards Thomas >> >> > Try sticking the recursive keyword after the "with" if any of the > following CTEs are recursive. > > WITH RECURSIVE normal 1 AS () ,recursine1 AS () ,normal2 AS () > ,recursine2 AS () SELECT ... > > David J. Ah! That does the trick. Thanks Thomas
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера