| От | Tom Lane |
|---|---|
| Тема | Re: Trigger causes the server to crash with SEGV |
| Дата | |
| Msg-id | 6515.991423025@sss.pgh.pa.us обсуждение |
| Ответ на | Trigger causes the server to crash with SEGV (pgsql-bugs@postgresql.org) |
| Ответы |
Re: Trigger causes the server to crash with SEGV
|
| Список | pgsql-bugs |
I tried it here. I don't get a crash; I get a rather long delay and
then
psql:vlad.sql:61: NOTICE: Error occurred while executing PL/pgSQL function sp_loc_parent_check
psql:vlad.sql:61: NOTICE: line 12 at return
psql:vlad.sql:61: ERROR: Memory exhausted in AllocSetContextCreate(8192)
which is not too surprising seeing that your function is in an infinite
recursion (chasing the loop 96 -> 15 -> 3 -> 96 that your insert has
created).
It would be interesting to know why your copy SEGV's rather than
recovering gracefully. Can you provide a debugger backtrace from the
coredump?
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера