File tree 1 file changed +5
-3
lines changed 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 8
8
*
9
9
*
10
10
* 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 $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -177,17 +177,19 @@ renameatt(char *relname,
177
177
void
178
178
renamerel (const char * oldrelname , const char * newrelname )
179
179
{
180
- int i ;
181
180
Relation targetrelation ;
182
181
Relation relrelation ; /* for RELATION relation */
183
182
HeapTuple oldreltup ;
184
183
Oid reloid ;
185
184
char relkind ;
185
+ Relation irelations [Num_pg_class_indices ];
186
+ #ifdef OLD_FILE_NAMING
187
+ int i ;
186
188
char oldpath [MAXPGPATH ],
187
189
newpath [MAXPGPATH ],
188
190
toldpath [MAXPGPATH + 10 ],
189
191
tnewpath [MAXPGPATH + 10 ];
190
- Relation irelations [ Num_pg_class_indices ];
192
+ #endif
191
193
192
194
if (!allowSystemTableMods && IsSystemRelationName (oldrelname ))
193
195
elog (ERROR , "renamerel: system relation \"%s\" not renamed" ,
You can’t perform that action at this time.
0 commit comments