Multiple trees in parsetree_list

Started by sayali kabout 18 years ago3 messages
#1sayali k
sayali_s_kulkarni@yahoo.co.in

Hello All,
I am doing a project in DBMS postgresql. I have the folllowing query : in the function exec_simple_query, in which condition does the
parsetree_list include more than 1 parsetree_items? How are passed to this function from the parser/gram.c?

Thanks a lot for all the help in advance.

Best regards,
Sayali

== ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ ==
Happiness is nothing more than a good health and a bad memory
== ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ ==

---------------------------------
Yahoo! Answers - Get better answers from someone who knows. Tryit now.

#2Martijn van Oosterhout
kleptog@svana.org
In reply to: sayali k (#1)
Re: Multiple trees in parsetree_list

On Tue, Oct 30, 2007 at 07:53:21AM +0000, sayali k wrote:

Hello All,
I am doing a project in DBMS postgresql. I have the folllowing query : in the function exec_simple_query, in which condition does the
parsetree_list include more than 1 parsetree_items? How are passed to this function from the parser/gram.c?

AIUI, if there are RULEs on a table, you can get multiple queries as
the result of a single request.

Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/

Show quoted text

From each according to his ability. To each according to his ability to litigate.

#3sayali k
sayali_s_kulkarni@yahoo.co.in
In reply to: Martijn van Oosterhout (#2)
Re: Multiple trees in parsetree_list

Thanks a lot for the help Matijn. Will check out the rules query.

Best regards,
Sayali

Martijn van Oosterhout <kleptog@svana.org> wrote:
On Tue, Oct 30, 2007 at 07:53:21AM +0000, sayali k wrote:

Hello All,
I am doing a project in DBMS postgresql. I have the folllowing query : in the function exec_simple_query, in which condition does the
parsetree_list include more than 1 parsetree_items? How are passed to this function from the parser/gram.c?

AIUI, if there are RULEs on a table, you can get multiple queries as
the result of a single request.

Have a nice day,
--
Martijn van Oosterhout http://svana.org/kleptog/

From each according to his ability. To each according to his ability to litigate.

Best regards,
Sayali

== ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ ==
Happiness is nothing more than a good health and a bad memory
== ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ == ~~~ ==

---------------------------------
For ideas on reducing your carbon footprint visit Yahoo! For Good this month.