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

Commit981bd24

Browse files
committed
Workaround misfeature of MSVC. Just to make compilation go further
1 parentb6d8c33 commit981bd24

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/bin/pg_dump/pg_backup_db.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,11 @@ transferCheckControlData(Archive *fout, const char *transfer_dir, bool isRestore
13871387
}
13881388
else
13891389
{
1390+
#ifdef__GNUC__
13901391
chardumpedInfo[strlen(serverInfo)];
1392+
#else
1393+
chardumpedInfo[1024];
1394+
#endif
13911395
/*
13921396
* In restore mode read info from pg_control in transfer_dir
13931397
* and compare it with the result of select. In case of any

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp