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

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: robertmhaas(at)gmail(dot)com
Cc: heykal(dot)abdillah(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why my manualy constructed raw parser tree produce failed to execute?
Date: 2010-05-27 23:55:18
Message-ID: 20100528.085518.69388576.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > 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.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-05-28 00:14:22 Re: pg_trgm
Previous Message Tatsuo Ishii 2010-05-27 23:54:59 Re: pg_trgm