| От | Tom Lane |
|---|---|
| Тема | Re: function fails where individual statements succeed |
| Дата | |
| Msg-id | 11478.1093899801@sss.pgh.pa.us обсуждение |
| Ответ на | Re: function fails where individual statements succeed (Rosser Schwarz <rosser.schwarz@gmail.com>) |
| Ответы |
Re: function fails where individual statements succeed
|
| Список | pgsql-sql |
Rosser Schwarz <rosser.schwarz@gmail.com> writes:
> We've opted to simply script issuing the statements serially, rather
> than as a function for this one. Your explanation makes sense, Tom,
> though I'm curious why it works in our long-running case (beyond the
> issue of fewer indices there).
Does the other case have any partial indexes? The particular error
was about an index predicate condition; it might be that you don't
happen to fall foul of the issue when dealing with simple CREATE
INDEX commands. I'd describe that as "miraculously managing not to
fail", though, not as a behavior I'd care to rely on.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера