Re: Why my manualy constructed raw parser tree produce failed to execute?

From: Mohammad Heykal Abdillah <heykal(dot)abdillah(at)gmail(dot)com>
To: Tatsuo Ishii <ishii(at)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why my manualy constructed raw parser tree produce failed to execute?
Date: 2010-05-28 03:18:46
Message-ID: 1275016726.1855.42.camel@claudia
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Jum, 2010-05-28 at 08:55 +0900, Tatsuo Ishii wrote:
> > > Now to the question, why my manualy constructed list was failed to
> > > execute? I was pretty sure that my list node was identical with yacc.
> >
> > Because you have a bug in your code.
>
> You can debug your code by comparing your hand made tree with the
> original tree by using equal(). Search #ifdef COPY_PARSE_PLAN_TREES in
> postgres.c to see how to use it. Good luck.

Thank you Mr. Tatsuo and Mr. Robert for the hint, i think i'll have to
debug my code more thoroughly but at least now i have some hint :)

Once again thank you.

> --
> Tatsuo Ishii
> SRA OSS, Inc. Japan
> English: http://www.sraoss.co.jp/index_en.php
> Japanese: http://www.sraoss.co.jp

--
Mohammad Heykal Abdillah <heykal(dot)abdillah(at)gmail(dot)com>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2010-05-28 03:32:22 Re: functional call named notation clashes with SQL feature
Previous Message Tom Lane 2010-05-28 03:09:26 Re: Specification for Trusted PLs?