bsimon@xxxxxxxxxx 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 ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match