Re: Why my manualy constructed raw parser tree produce failed to execute? - Mailing list pgsql-hackers

From Mohammad Heykal Abdillah
Subject Re: Why my manualy constructed raw parser tree produce failed to execute?
Date
Msg-id 1275016726.1855.42.camel@claudia
Whole thread Raw
In response to Re: Why my manualy constructed raw parser tree produce failed to execute?  (Tatsuo Ishii <ishii@postgresql.org>)
List 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.abdillah@gmail.com>



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Specification for Trusted PLs?
Next
From: Bruce Momjian
Date:
Subject: Re: functional call named notation clashes with SQL feature