Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
>> Anyway, there's still a big problem with this patch: the pg_depend
>> information gets messed up after CLUSTER, so a clustered table cannot be
>> dropped. I don't know why is this.
> I actually backed out Tom's recent change to cluster.c (attached),
> applied your patch, then manually applied Tom's patch to cluster.c so I
> had a working version of your patch with the new dependencies. Seemed
> to work fine.
The changes I made to cluster.c may or may not be correct in the
context of a redone CLUSTER implementation; it'll need to be looked at.
regards, tom lane