Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit70df648

Browse files
committed
Clean up gcc warnings.
1 parent8b53eaf commit70df648

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎src/backend/commands/rename.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
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,
177177
void
178178
renamerel(constchar*oldrelname,constchar*newrelname)
179179
{
180-
inti;
181180
Relationtargetrelation;
182181
Relationrelrelation;/* for RELATION relation */
183182
HeapTupleoldreltup;
184183
Oidreloid;
185184
charrelkind;
185+
Relationirelations[Num_pg_class_indices];
186+
#ifdefOLD_FILE_NAMING
187+
inti;
186188
charoldpath[MAXPGPATH],
187189
newpath[MAXPGPATH],
188190
toldpath[MAXPGPATH+10],
189191
tnewpath[MAXPGPATH+10];
190-
Relationirelations[Num_pg_class_indices];
192+
#endif
191193

192194
if (!allowSystemTableMods&&IsSystemRelationName(oldrelname))
193195
elog(ERROR,"renamerel: system relation \"%s\" not renamed",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp