Skip to content

Commit 063da9d

Browse files
committed
Fix ALTER TABLE / CLUSTER ON breakage.
Alvaro Herrera1
1 parent b8f7d3d commit 063da9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/commands/tablecmds.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.69 2003/03/20 18:52:47 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/tablecmds.c,v 1.70 2003/03/21 15:43:02 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -3835,6 +3835,7 @@ AlterTableClusterOn(Oid relOid, const char *indexName)
38353835
{
38363836
elog(NOTICE, "ALTER TABLE: table \"%s\" is already being clustered on index \"%s\"",
38373837
NameStr(rel->rd_rel->relname), indexName);
3838+
ReleaseSysCache(indexTuple);
38383839
heap_close(rel, AccessExclusiveLock);
38393840
return;
38403841
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy