Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group