]> granicus.if.org Git - postgresql/commit
Update with newer version of CLUSTER patch posted August 8.
authorBruce Momjian <bruce@momjian.us>
Sat, 10 Aug 2002 21:00:34 +0000 (21:00 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 10 Aug 2002 21:00:34 +0000 (21:00 +0000)
commitd1c641622364039cd1ba44c5bbdc1ca72d52f0bc
tree4a2825acbdaa2bec1561b6d2a57cdc0f3bb77d13
parent8db20b4a5db6f60bd815e76738fd75fd895e7eef
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
src/backend/commands/cluster.c
src/include/commands/cluster.h