diff options
| author | Bruce Momjian <bruce@momjian.us> | 2005-09-19 17:21:49 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2005-09-19 17:21:49 +0000 |
| commit | 658657177e04b6b3af39ed9236146065afb422d8 (patch) | |
| tree | 4732e2dbad98df34c2ec753e4e7c14316ce97138 /src/include/storage | |
| parent | 591a29b39803c8c060de621feaaeadfeb0ddca7d (diff) | |
| download | postgresql-658657177e04b6b3af39ed9236146065afb422d8.tar.gz | |
Print proper cause of statement cancel, user interaction or timeout.
Diffstat (limited to 'src/include/storage')
| -rw-r--r-- | src/include/storage/proc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index b9c9c5d5be..7297f444bf 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/proc.h,v 1.81 2005/08/20 23:26:34 tgl Exp $ + * $PostgreSQL: pgsql/src/include/storage/proc.h,v 1.82 2005/09/19 17:21:48 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -117,6 +117,8 @@ typedef struct PROC_HDR extern int DeadlockTimeout; extern int StatementTimeout; +extern volatile bool cancel_from_timeout; + /* * Function Prototypes |
