Обсуждение: Multiple trees in parsetree_list
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. Try it now.
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 conditiondoes 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/ > From each according to his ability. To each according to his ability to litigate.
Thanks a lot for the help Matijn. Will check out the rules query.
Best regards,
Sayali
Martijn van Oosterhout <kleptog@svana.org> wrote:
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.