[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    Re: [HACKERS] Help in processing multiple parse nodes.
From:       "Somasekhar Ramadurgam" <somasekhar.102638 () gmail ! com>
Date:       2008-10-31 16:42:26
Message-ID: 523727d70810310930u1f214e96u9993d837fdc68456 () mail ! gmail ! com
[Download RAW message or body]

Hi all,
 I am having a project in Postgres where I had modified code in
gram.y...I have added new  command along with grammer and returning
list of parse nodes as opposed to single node inside actions
block....I want to process each of them in postgres.c file...But, I
couldn't find any difference in parsetree_list structure, irrespective
of whether i am returning single node or list of nodes...It is always
saying list which is of length of 1...I don't know how to parse the
list  due to which I am stuck completely... I had tried to add
foreach() loop on my own and failed miserably...

Looking forward to some help from experts.
Thanks in advance


Best regards,
Somasekhar.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic