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

From Takahiro Itagaki
Subject Re: I: About "Our CLUSTER implementation is pessimal" patch
Date
Msg-id 20100706165226.9734.52131E4D@oss.ntt.co.jp
Whole thread Raw
In response to Re: I: About "Our CLUSTER implementation is pessimal" patch  (Leonardo F <m_lists@yahoo.it>)
Responses Re: I: About "Our CLUSTER implementation is pessimal" patch
List pgsql-hackers
Leonardo F <m_lists@yahoo.it> wrote:

> Attached the updated patch (should solve a bug) and a script.

I reviewed your patch. It seems to be in good shape, and worked as
expected. I suppressed a compiler warning in the patch and cleaned up
whitespaces in it. Patch attached.

I think we need some documentation for the change. The only downside
of the feature is that sorted cluster requires twice disk spaces of
the target table (temp space for disk sort and the result table).
Could I ask you to write documentation about the new behavior?
Also, code comments can be improved; especially we need better
description than "copy&paste from FormIndexDatum".

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center


Attachment

pgsql-hackers by date:

Previous
From: KaiGai Kohei
Date:
Subject: Bug? Concurrent COMMENT ON and DROP object
Next
From: Leonardo F
Date:
Subject: Re: I: About "Our CLUSTER implementation is pessimal" patch