From d1c641622364039cd1ba44c5bbdc1ca72d52f0bc Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 10 Aug 2002 21:00:34 +0000 Subject: 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/include/commands/cluster.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/include/commands/cluster.h') diff --git a/src/include/commands/cluster.h b/src/include/commands/cluster.h index 3f4518b4970..ff3a8d82d39 100644 --- a/src/include/commands/cluster.h +++ b/src/include/commands/cluster.h @@ -6,20 +6,13 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994-5, Regents of the University of California * - * $Id: cluster.h,v 1.14 2002/06/20 20:29:49 momjian Exp $ + * $Id: cluster.h,v 1.15 2002/08/10 21:00:34 momjian Exp $ * *------------------------------------------------------------------------- */ #ifndef CLUSTER_H #define CLUSTER_H -/* - * defines for contant stuff - */ -#define _TEMP_RELATION_KEY_ "clXXXXXXXX" -#define _SIZE_OF_TEMP_RELATION_KEY_ 11 - - /* * functions */ -- cgit v1.2.3