Re: Help in processing multiple parse nodes. - Mailing list pgsql-hackers

From Somasekhar Ramadurgam
Subject Re: Help in processing multiple parse nodes.
Date
Msg-id 523727d70810310930u1f214e96u9993d837fdc68456@mail.gmail.com
Whole thread Raw
List pgsql-hackers
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.


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Enabling archive_mode without restart
Next
From: Hannu Krosing
Date:
Subject: Re: SQL/MED compatible connection manager