File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 88 *
99 *
1010 * IDENTIFICATION
11- * $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.49 2000/10/16 17:08:05 momjian Exp $
11+ * $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.50 2000/10/20 02:53:10 tgl Exp $
1212 *
1313 *-------------------------------------------------------------------------
1414 */
@@ -177,17 +177,19 @@ renameatt(char *relname,
177177void
178178renamerel (const char * oldrelname , const char * newrelname )
179179{
180- int i ;
181180 Relation targetrelation ;
182181 Relation relrelation ; /* for RELATION relation */
183182 HeapTuple oldreltup ;
184183 Oid reloid ;
185184 char relkind ;
185+ Relation irelations [Num_pg_class_indices ];
186+ #ifdef OLD_FILE_NAMING
187+ int i ;
186188 char oldpath [MAXPGPATH ],
187189 newpath [MAXPGPATH ],
188190 toldpath [MAXPGPATH + 10 ],
189191 tnewpath [MAXPGPATH + 10 ];
190- Relation irelations [ Num_pg_class_indices ];
192+ #endif
191193
192194 if (!allowSystemTableMods && IsSystemRelationName (oldrelname ))
193195 elog (ERROR , "renamerel: system relation \"%s\" not renamed" ,
You can’t perform that action at this time.
0 commit comments