Re: I: About "Our CLUSTER implementation is pessimal" patch - Mailing list pgsql-hackers

From Leonardo F
Subject Re: I: About "Our CLUSTER implementation is pessimal" patch
Date
Msg-id 392543.27476.qm@web29017.mail.ird.yahoo.com
Whole thread Raw
In response to Re: I: About "Our CLUSTER implementation is pessimal" patch  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
I think I've found the problem:

tuple->t_data wasn't at HEAPTUPLESIZE distance from tuple.
I guess the code makes that assumption somewhere, so I had
to do:

tuple->t_data = (HeapTupleHeader) ((char *) tuple +
HEAPTUPLESIZE);

Now that test works! Hope I don't find any more problems...



Leonardo






pgsql-hackers by date:

Previous
From: Aidan Van Dyk
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Make standby server continuously retry restoring the next WAL
Next
From: Greg Stark
Date:
Subject: Re: Some belated patch review for "Buffers" explain analyze patch