Re: I: About "Our CLUSTER implementation is pessimal" patch

From: Leonardo F <m_lists(at)yahoo(dot)it>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: I: About "Our CLUSTER implementation is pessimal" patch
Date: 2010-02-10 14:02:46
Message-ID: 392543.27476.qm@web29017.mail.ird.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2010-02-10 14:09:25 Re: Some belated patch review for "Buffers" explain analyze patch
Previous Message Aidan Van Dyk 2010-02-10 13:45:00 Re: Re: [COMMITTERS] pgsql: Make standby server continuously retry restoring the next WAL