From: | Julien Rouhaud <rjuju123(at)gmail(dot)com> |
---|---|
To: | "jacktby(at)gmail(dot)com" <jacktby(at)gmail(dot)com> |
Cc: | pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | Re: How to get the selectStatement parse tree info? |
Date: | 2022-10-25 05:58:52 |
Message-ID: | 20221025055852.aghny3huir6lt7xy@jrouhaud |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
On Tue, Oct 25, 2022 at 01:38:09PM +0800, jacktby(at)gmail(dot)com wrote:
> I'm reading this book https://www.interdb.jp/pg/pgsql03.html? I'm debugging
> pg, but I can't get the parse tree like this:
> https://files.slack.com/files-pri/T0FS7GCKS-F047H5R2UKH/1.png, can you give
> me some ways to get that? I'm using vscode to debug, the watch info doesn't
> interest me, it gives me
> nothing,https://files.slack.com/files-pri/T0FS7GCKS-F048MD5BTME/quzk_6bk0sug60__f_0wh2l.png
I can't access the pictures, so I'm not sure what exactly you expect (and you
should usually prefer sending text anyway), but maybe what you want is "SET
debug_print_parse = on" to print the parse trees in the logs?
From | Date | Subject | |
---|---|---|---|
Next Message | Yi Sun | 2022-10-25 08:30:02 | How to know how much CPU, RAM is used by existing 1 database |
Previous Message | jacktby@gmail.com | 2022-10-25 05:38:09 | How to get the selectStatement parse tree info? |