Update with newer version of CLUSTER patch posted August 8.

Bruce Momjian <bruce@momjian.us>

Commit: d1c641622364039cd1ba44c5bbdc1ca72d52f0bc
Author: Bruce Momjian <bruce@momjian.us>
Date: 2002-08-10T21:00:34Z
Releases: 7.3.1
Update with newer version of CLUSTER patch posted August 8.

> Looks like Alvaro got sideswiped by the system catalog indexing changes
> I made over the weekend.  It's a simple change, just reduce the whole
> mess to a "CatalogUpdateIndexes()" call.

I update two tuples, so I manually CatalogOpenIndexes() and
CatalogIndexInsert() two times, as per comments in
CatalogUpdateIndexes().

I also removed a couple of useless CommandCounterIncrement(), some
useless definitions in src/include/commands/cluster.h and useless
includes in src/backend/commands/cluster.c.  This version passes the
regression test I had made for previous versions.

Alvaro Herrera

Files

PathChange+/−
src/backend/commands/cluster.c modified +6 −15
src/include/commands/cluster.h modified +1 −8