[HACKERS] Doubt in index scan code

2008-03-08 Thread Suresh
Hello all, I have a custom code written inside postgres in an application we use. The snippet is as below : Here inner plan is an index scan. scandesc = ((IndexScanState *)innerPlan)-iss_ScanDesc; flag=index_getmulti(scandesc, tidelm-tid, 1, ret_tids); Now consider a query like explain

Re: [HACKERS] Doubt in index scan code

2008-03-08 Thread Dave Cramer
On 8-Mar-08, at 11:06 AM, Suresh wrote: Hello all, I have a custom code written inside postgres in an application we use. The snippet is as below : Here inner plan is an index scan. scandesc = ((IndexScanState *)innerPlan)-iss_ScanDesc; flag=index_getmulti(scandesc, tidelm-tid, 1,