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

Commite035a29

Browse files
committed
Add CHECK_FOR_INTERRUPTS() to bootstrap command loop, so that control-C
can terminate the bootstrap run.
1 parent959c0f7 commite035a29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/backend/bootstrap/bootparse.y

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootparse.y,v 1.61 2003/11/09 21:30:35 tgl Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootparse.y,v 1.62 2003/11/14 18:19:45 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -64,6 +64,7 @@ do_end()
6464
{
6565
CommitTransactionCommand();
6666
elog(DEBUG4,"commit transaction");
67+
CHECK_FOR_INTERRUPTS();/* allow SIGINT to kill bootstrap run*/
6768
if (isatty(0))
6869
{
6970
printf("bootstrap>");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp