Re: Triggers in C - Segmentation Fault - Mailing list pgsql-general

From Chris Coleman
Subject Re: Triggers in C - Segmentation Fault
Date
Msg-id 430914310605150347v3f681b27nc2f12fb793da6f6d@mail.gmail.com
Whole thread Raw
In response to Re: Triggers in C - Segmentation Fault  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Triggers in C - Segmentation Fault  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
Hi,

I have done the below command and restarted the server and built my
triggers with the -g command using gcc, but I cannot seem to find any
core files nor any reference to where postgres may place them. Where
would they normally appear?

Cheers
Chris

> Probably the easiest thing to do is make sure your functions are
> compiled with debugging and enable core dump by running "ulimit -S -c
> unlimited" before starting the server. You can then use gdb to
> pin-point where it dies...

pgsql-general by date:

Previous
From: Sebastian Böck
Date:
Subject: Bug in ordered views?
Next
From: Perez
Date:
Subject: Re: trigger TOASTing quicker?