Re: SPI_getvalue problem
От | Tom Lane |
---|---|
Тема | Re: SPI_getvalue problem |
Дата | |
Msg-id | 916.980702691@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | SPI_getvalue problem (Alex Guryanow <gav@nlr.ru>) |
Ответы |
Re[2]: SPI_getvalue problem
|
Список | pgsql-general |
Alex Guryanow <gav@nlr.ru> writes: > I have the following problem: the backend crashes on Solaris while > executing the function SPI_getvalue. > At the same time on Linux this trigger works fine. > Is this a bug or my misconfuguration? Sounds like a bug to me, but you haven't demonstrated that the bug is in SPI_getvalue and not in your own code. The first thing I'd wonder about is if your trigger function is checking for NULL value before calling SPI_getvalue (or at least before trying to do anything useful with the result). The platform dependency of the failure might just be due to a configuration difference, for example whether the program is set up to force SIGSEGV on a null-pointer dereference or not. regards, tom lane
В списке pgsql-general по дате отправления: