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

Commitd7de6a4

Browse files
committed
pg_upgrade: fix parallel/-j crash on Windows
This fixes the problem of passing the wrong function pointer when doingparallel copy/link operations on Windows.Backpatched to 9.3beta.Found and patch supplied by Andrew Dunstan
1 parentb32a25c commitd7de6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contrib/pg_upgrade/parallel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ parallel_transfer_all_new_dbs(DbInfoArr *old_db_arr, DbInfoArr *new_db_arr,
244244
strcpy(new_arg->new_pgdata,new_pgdata);
245245
strcpy(new_arg->old_tablespace,old_tablespace);
246246

247-
child= (HANDLE)_beginthreadex(NULL,0, (void*)win32_exec_prog,
247+
child= (HANDLE)_beginthreadex(NULL,0, (void*)win32_transfer_all_new_dbs,
248248
new_arg,0,NULL);
249249
if (child==0)
250250
pg_log(PG_FATAL,"could not create worker thread: %s\n",strerror(errno));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp