diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-09-04 21:19:33 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-09-04 21:19:33 +0000 |
commit | a24ebc3f7e172035faf7349f7350f5b6496aa8c5 (patch) | |
tree | 9a602fd3c2bc9ca90cf9f8b8f47a08f4bdebbf7d /src | |
parent | fb7548f4dbc45a7b1b22627d48df262c0233379f (diff) | |
download | postgresql-a24ebc3f7e172035faf7349f7350f5b6496aa8c5.tar.gz postgresql-a24ebc3f7e172035faf7349f7350f5b6496aa8c5.zip |
Remove no-longer-needed code to update temprel's copy of
pg_class tuple during ALTER TABLE ADD COLUMN.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/commands/command.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/backend/commands/command.c b/src/backend/commands/command.c index 93559a55c41..7fe62cf1246 100644 --- a/src/backend/commands/command.c +++ b/src/backend/commands/command.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.52 1999/07/17 20:16:51 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.53 1999/09/04 21:19:33 tgl Exp $ * * NOTES * The PortalExecutorHeapMemory crap needs to be eliminated @@ -495,13 +495,6 @@ PerformAddAttribute(char *relationName, ((Form_pg_class) GETSTRUCT(reltup))->relnatts = maxatts; heap_replace(rel, &reltup->t_self, reltup, NULL); - { - HeapTuple temptup; - - if ((temptup = get_temp_rel_by_name(relationName)) != NULL) - ((Form_pg_class) GETSTRUCT(temptup))->relnatts = maxatts; - } - /* keep catalog indices current */ CatalogOpenIndices(Num_pg_class_indices, Name_pg_class_indices, ridescs); CatalogIndexInsert(ridescs, Num_pg_class_indices, rel, reltup); |