Skip to content

Commit 155bbe4

Browse files
committed
Add timeout to pgpro_upgrade call
1 parent d6005b4 commit 155bbe4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nsis/postgresql.nsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,9 @@ Section $(PostgreSQLString) sec1
512512
; run pgpro-upgrade script and
513513

514514
DetailPrint "Performing catalog upgradeon $DATA_DIR"
515-
nsExec::ExecToStack '"$INSTDIR\scripts\pgpro_upgrade" "$DATA_DIR"'
515+
nsExec::ExecToStack /TIMEOUT=120000 '"$INSTDIR\scripts\pgpro_upgrade" "$DATA_DIR"'
516516
Pop $0
517+
DetailPrint "pgpro_upgrade return $0"
517518
Pop $1 # printed text, up to ${NSIS_MAX_STRLEN}
518519
DetailPrint "$1"
519520

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