mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
pgindent run for 9.5
This commit is contained in:
@@ -491,7 +491,7 @@ int
|
||||
PSQLexecWatch(const char *query, const printQueryOpt *opt)
|
||||
{
|
||||
PGresult *res;
|
||||
double elapsed_msec = 0;
|
||||
double elapsed_msec = 0;
|
||||
instr_time before;
|
||||
instr_time after;
|
||||
|
||||
@@ -524,10 +524,9 @@ PSQLexecWatch(const char *query, const printQueryOpt *opt)
|
||||
}
|
||||
|
||||
/*
|
||||
* If SIGINT is sent while the query is processing, the interrupt
|
||||
* will be consumed. The user's intention, though, is to cancel
|
||||
* the entire watch process, so detect a sent cancellation request and
|
||||
* exit in this case.
|
||||
* If SIGINT is sent while the query is processing, the interrupt will be
|
||||
* consumed. The user's intention, though, is to cancel the entire watch
|
||||
* process, so detect a sent cancellation request and exit in this case.
|
||||
*/
|
||||
if (cancel_pressed)
|
||||
{
|
||||
|
Reference in New Issue
Block a user