diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-05-11 03:54:18 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-05-11 03:54:18 +0000 |
| commit | 37c652f89bfc6ce428dad082a8623751604dd9b9 (patch) | |
| tree | 1b076117f692f347217c60c21784b9611233fda9 /src/backend/tcop | |
| parent | e10c5597b72435ac4ddb7d7b10858b85d6af0908 (diff) | |
| download | postgresql-37c652f89bfc6ce428dad082a8623751604dd9b9.tar.gz | |
Fix CLUSTER ... or at least undo the bit-rot it's suffered since 6.5.
It's still pretty fundamentally bogus :-(.
Freebie side benefit: ALTER TABLE RENAME works on indexes now.
Diffstat (limited to 'src/backend/tcop')
| -rw-r--r-- | src/backend/tcop/utility.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 89ac3a635a..c0a8352de4 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.87 2000/04/25 10:38:38 inoue Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.88 2000/05/11 03:54:18 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -18,7 +18,6 @@ #include "access/heapam.h" #include "catalog/catalog.h" -#include "catalog/pg_type.h" #include "commands/async.h" #include "commands/cluster.h" #include "commands/command.h" @@ -315,8 +314,6 @@ ProcessUtility(Node *parsetree, */ renamerel(relname, /* old name */ stmt->newname); /* new name */ - TypeRename(relname, /* old name */ - stmt->newname); /* new name */ } else { |
