Re: analyzing debugging sentences.

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: jungmin shin <jungmin(dot)shin(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: analyzing debugging sentences.
Date: 2006-10-18 18:30:46
Message-ID: 20061018183046.GG11184@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Oct 18, 2006 at 02:11:53PM -0400, jungmin shin wrote:
> Hello,
>
> I set on for following items in postgresql.conf
>
> debug_print_parse
> debug_print_rewritten
> debug_print_plan
> debug_print_pretty
>
> now, I can see something in PGAdmin query tool when I execute a query.
> can I get some idea how I can read comprehend the output?

<snip>

It's almost (with a few exceptions) an exact repesentation of the in
memory structures. If you look in readfuncs.c and outfuncs.c you can
see the code that generates it.

CONST is a ConstNode
OPEXPR is an OpExprNode

etc...

So you'll have to read the header files to understand what they mean.

Hope this helps,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2006-10-18 18:31:34 Re: Mirror problems for download
Previous Message Weslee Bilodeau 2006-10-18 18:19:13 Re: Getting the type Oid in a CREATE TYPE output function