(gdb) print *((HashJoin *) node)->hashjoinstate
$4 = {jstate = {type = T_HashJoinState, cs_OuterTupleSlot = 0x0, 
    cs_ResultTupleSlot = 0x84527cc, cs_ExprContext = 0x8453e60, 
    cs_ProjInfo = 0x84546e0, cs_TupFromTlist = 0 '\000'}, hj_HashTable = 0x0, 
  hj_CurBucketNo = 0, hj_CurTuple = 0x0, hj_OuterHashKeys = 0x8454728, 
  hj_InnerHashKeys = 0x84538d0, hj_OuterTupleSlot = 0x84527e0, 
  hj_HashTupleSlot = 0x8452790, hj_NullInnerTupleSlot = 0x0, 
  hj_NeedNewOuter = 1 '\001', hj_MatchedOuter = 0 '\000', 
  hj_hashdone = 0 '\000'}

of course.. but still, why the segfault?

Patrick

Wed, 4 Dec 2002 18:18:44 +0000
Patrick Welche <prlw1@newn.cam.ac.uk>
postgres core dump PS