Re: Multiple trees in parsetree_list

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: sayali k <sayali_s_kulkarni(at)yahoo(dot)co(dot)in>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Multiple trees in parsetree_list
Date: 2007-10-30 14:25:33
Message-ID: 20071030142533.GA25397@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2007-10-30 14:31:12 Re: Proposal: real procedures again (8.4)
Previous Message Zeugswetter Andreas ADI SD 2007-10-30 14:24:20 Re: Proposal: real procedures again (8.4)