diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-11-14 18:19:45 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-11-14 18:19:45 +0000 |
commit | e035a297a2b7202b88e2b6da51bfac7d4cd4d173 (patch) | |
tree | cb11446aa45b6c88baab96e4d23527845be10220 /src | |
parent | 959c0f7fb72dedbeaf6fbb38f4c5969f8aa23f3c (diff) |
Add CHECK_FOR_INTERRUPTS() to bootstrap command loop, so that control-C
can terminate the bootstrap run.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/bootstrap/bootparse.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/bootstrap/bootparse.y b/src/backend/bootstrap/bootparse.y index 8a5bc945133..b966816e64f 100644 --- a/src/backend/bootstrap/bootparse.y +++ b/src/backend/bootstrap/bootparse.y @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootparse.y,v 1.61 2003/11/09 21:30:35 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/bootstrap/bootparse.y,v 1.62 2003/11/14 18:19:45 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -64,6 +64,7 @@ do_end() { CommitTransactionCommand(); elog(DEBUG4, "commit transaction"); + CHECK_FOR_INTERRUPTS(); /* allow SIGINT to kill bootstrap run */ if (isatty(0)) { printf("bootstrap> "); |