Re: Need help with TRAP: FailedAssertion("!(context != CurrentMemoryContext)"
В списке pgsql-hackers по дате отправления:
| От | Andres Freund |
|---|---|
| Тема | Re: Need help with TRAP: FailedAssertion("!(context != CurrentMemoryContext)" |
| Дата | |
| Msg-id | 20130420210032.GA24915@awork2.anarazel.de обсуждение |
| Ответ на | Need help with TRAP: FailedAssertion("!(context != CurrentMemoryContext)" (Stephen Woodbridge <woodbri@swoodbridge.com>) |
| Ответы |
Re: Need help with TRAP: FailedAssertion("!(context !=
CurrentMemoryContext)"
|
| Список | pgsql-hackers |
On 2013-04-20 16:32:36 -0400, Stephen Woodbridge wrote:
> Hi all,
>
> I have been writing pg extensions for a while but I just ran into a problem
> that has me stumped.
>
> I have code for a SRF and it works fine on pg 9.2.2 on linux, but fails with
> am error in the logfile.
>
> TRAP: FailedAssertion("!(context != CurrentMemoryContext)", File: "mcxt.c",
> Line: 172)
This means that the current memory context is being deleted. Are you
doing that or did you maybe MemoryContextSwitchTo to some context but
not back?
Greetings,
Andres Freund
-- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера