pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How to get the selectStatement parse tree info?
2+ messages / 2 participants
[nested] [flat]

* How to get the selectStatement parse tree info?
@ 2022-10-25 05:38 jacktby@gmail.com <jacktby@gmail.com>
  2022-10-25 05:58 ` Re: How to get the selectStatement parse tree info? Julien Rouhaud <rjuju123@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: jacktby@gmail.com @ 2022-10-25 05:38 UTC (permalink / raw)
  To: pgsql-general <pgsql-general@lists.postgresql.org>

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


jacktby@gmail.com


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: How to get the selectStatement parse tree info?
  2022-10-25 05:38 How to get the selectStatement parse tree info? jacktby@gmail.com <jacktby@gmail.com>
@ 2022-10-25 05:58 ` Julien Rouhaud <rjuju123@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Julien Rouhaud @ 2022-10-25 05:58 UTC (permalink / raw)
  To: jacktby@gmail.com <jacktby@gmail.com>; +Cc: pgsql-general <pgsql-general@lists.postgresql.org>

Hi,

On Tue, Oct 25, 2022 at 01:38:09PM +0800, jacktby@gmail.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?





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2022-10-25 05:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-10-25 05:38 How to get the selectStatement parse tree info? jacktby@gmail.com <jacktby@gmail.com>
2022-10-25 05:58 ` Julien Rouhaud <rjuju123@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox