Re: [HACKERS] About the portal in postgres

2014-03-14 Thread Amit Kapila
On Fri, Mar 14, 2014 at 12:29 PM, Tanmay Deshpande wrote: > My doubt is when the query enters into a portal, does it stay in the portal > till the final execution ? Yes, portal represents the execution state of query, after the optimizer creates the plan, portal is used in execution of query. W

Re: [HACKERS] About the portal in postgres

2014-03-14 Thread Atri Sharma
On Fri, Mar 14, 2014 at 12:29 PM, Tanmay Deshpande wrote: > My doubt is when the query enters into a portal, does it stay in the > portal till the final execution ? i.e. Do the further function calls such > as DefineRelation,create_heap_with_catalog etc. for Create query occur > inside the portal

[HACKERS] About the portal in postgres

2014-03-14 Thread Tanmay Deshpande
My doubt is when the query enters into a portal, does it stay in the portal till the final execution ? i.e. Do the further function calls such as DefineRelation,create_heap_with_catalog etc. for Create query occur inside the portal ?