On 9/18/07, Jaime Casanova <[EMAIL PROTECTED]> wrote:
>
>
>
> this sql scripts make current cvs + patch to crash with this message
> in the logs:
>
>
Can you please check if the attached patch fixes the issue for you ?
It sets t_tableOid before returning a HOT tuple to the caller.

Thanks,
Pavan

-- 
Pavan Deolasee
EnterpriseDB     http://www.enterprisedb.com
*** src/backend/access/index/indexam.c	2007-09-18 11:59:26.000000000 +0530
--- src/backend/access/index/indexam.c	2007-09-18 11:52:36.000000000 +0530
***************
*** 531,536 ****
--- 531,537 ----
  			ItemPointerSetOffsetNumber(tid, offnum);
  			heapTuple->t_data = (HeapTupleHeader) PageGetItem(dp, lp);
  			heapTuple->t_len = ItemIdGetLength(lp);
+ 			heapTuple->t_tableOid = RelationGetRelid(scan->heapRelation);
  			ctid = &heapTuple->t_data->t_ctid;
  
  			/*
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to