Re: triggers with parameters can cause backend crash - Mailing list pgsql-bugs

From Tom Lane
Subject Re: triggers with parameters can cause backend crash
Date
Msg-id 4127.1003850511@sss.pgh.pa.us
Whole thread Raw
In response to triggers with parameters can cause backend crash  ("Andras Belokosztolszki" <beland1@hotmail.com>)
List pgsql-bugs
"Andras Belokosztolszki" <beland1@hotmail.com> writes:
> When I use 2 or more triggers (body written in C) with trigger parameters,
> triggered within the same psql connection the backend crashes randomly.

It's hard to tell for sure from your incomplete example, but I wonder
whether you are sometimes returning a garbage pointer value from your
trigger function.  The quoted code looks like it has mismatched braces,
leaving me wondering if it's possible to fall off the end of the
function without executing a "return" statement.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: ALL in SELECT syntax \h psql flawed?
Next
From: Bruce Momjian
Date:
Subject: Re: ALL in SELECT syntax \h psql flawed?