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

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: Why my manualy constructed raw parser tree produce failed to execute?
Дата
Msg-id 20100528.085518.69388576.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: Why my manualy constructed raw parser tree produce failed to execute?  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Why my manualy constructed raw parser tree produce failed to execute?  (Mohammad Heykal Abdillah <heykal.abdillah@gmail.com>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: pg_trgm
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_trgm