| From: | HuangQi <huangqiyx(at)gmail(dot)com> |
|---|---|
| To: | Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov> |
| Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: gdb with postgres |
| Date: | 2011-06-07 06:53:13 |
| Message-ID: | BANLkTimXJSUX9sAS=J9app3OcVMaarBmEg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 6 June 2011 21:57, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
> HuangQi <huangqiyx(at)gmail(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Simon Riggs | 2011-06-07 06:57:39 | Re: BUG #6041: Unlogged table was created bad in slave node |
| Previous Message | David E. Wheeler | 2011-06-07 06:02:51 | Re: contrib/citext versus collations |