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

Appearance settings

Commit 9dcffe6

Browse filesBrowse files
committed
pg_upgrade: remove C99 compiler req. from commit 3c0471b
This commit required support for inline variable definition, which is not a requirement. RELEASE NOTE AUTHOR: the author of commit 3c0471b (pg_upgrade/tablespaces) was Justin Pryzby, not me. Reported-by: Andres Freund Discussion: https://postgr.es/m/20201016001959.h24fkywfubkv2pc5@alap3.anarazel.de Backpatch-through: 9.5
1 parent 39c23c1 commit 9dcffe6
Copy full SHA for 9dcffe6

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎src/bin/pg_upgrade/check.c

Copy file name to clipboardExpand all lines: src/bin/pg_upgrade/check.c
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,11 +507,12 @@ create_script_for_cluster_analyze(char **analyze_script_file_name)
507507
static void
508508
check_for_new_tablespace_dir(ClusterInfo *new_cluster)
509509
{
510+
int tblnum;
510511
char new_tablespace_dir[MAXPGPATH];
511512

512513
prep_status("Checking for new cluster tablespace directories");
513514

514-
for (int tblnum = 0; tblnum < os_info.num_old_tablespaces; tblnum++)
515+
for (tblnum = 0; tblnum < os_info.num_old_tablespaces; tblnum++)
515516
{
516517
struct stat statbuf;
517518

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.