From: Muhammad Isnaini <moch_isna...@yahoo.com>
Subject: Re: Howto analyse sql statement.
Date: Wed, 17 Feb 2010 21:02:26 +0800 (SGT)
Message-ID: <525621.291...@web76202.mail.sg1.yahoo.com>

> >     parse_tree_list = raw_parser(string);
> 
> I have got it. I will send later.
> Next chalange is how writing query statement ( include rewriting ) from a 
> node ?. Is that posible ?.

You could recursively search the parse tree and rewrite the query. See
pool_timestamp.c for a great example.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to