Alif Isophoqote napsal(a):
> Hi,
>
> I am developing a backend module for postgresql. For some queries,
> postgresql crashes: segmentation fault (most probably due to my own code).
> How to get the function name & line number where it crashes?
At first it depends on your OS. On unixes you should get core dump (check ulimit
setting). And if you have a core dump, then take you favorite debugger and print
stack trace. It should show you your function.
Zdenek