Skip to content

Commit 536de14

Browse 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 3c0471b commit 536de14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/pg_upgrade/check.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,11 +547,12 @@ create_script_for_cluster_analyze(char **analyze_script_file_name)
547547
static void
548548
check_for_new_tablespace_dir(ClusterInfo *new_cluster)
549549
{
550+
int tblnum;
550551
char new_tablespace_dir[MAXPGPATH];
551552

552553
prep_status("Checking for new cluster tablespace directories");
553554

554-
for (int tblnum = 0; tblnum < os_info.num_old_tablespaces; tblnum++)
555+
for (tblnum = 0; tblnum < os_info.num_old_tablespaces; tblnum++)
555556
{
556557
struct stat statbuf;
557558

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy