On 6 June 2011 21:57, Kevin Grittner <kevin.gritt...@wicourts.gov> wrote:
> HuangQi <huangq...@gmail.com> wrote: > > >>> (gdb) b qp_add_paths_to_joinrel > >>> Breakpoint 1 at 0x1a6744: file joinpath.c, line 67. > >>> (gdb) attach 23903 > > > If I enter c, gdb will directly finish executing this process and > > current query will finish. > > Are you absolutely sure that running your query will result in a > call to this function? > > -Kevin > Thanks guys for your idea. I found the solution. Because after made some change in postgres and make them, I didn't stop the server first. Now I stop it and start after reinstall, then using gdb is just fine. Thanks for your ideas. -- Best Regards Huang Qi Victor