bsimon@loxane.com writes:
> Then I have a C (libpq) client program that calls my spi functions like=20
> this :
> PQExec(conn,"SELECT mySpiFunction()");=20
> the problem is -> I can't step into this line !
Of course not --- the execution of mySpiFunction is in a different
process. You need to set up a second instance of gdb that's attached
to the postgres backend process your application is using.
regards, tom lane