aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-01-01 23:16:22 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-01-01 23:16:22 +0000
commit4764ae823b78a602ebfe01a91084c4b1ec931554 (patch)
tree86b03f43dd5edf0810e78f7254723094d868f49c /src/backend/tcop/postgres.c
parent1ccc67600bce722ac6edd695e06b451ff75cdc4d (diff)
downloadpostgresql-4764ae823b78a602ebfe01a91084c4b1ec931554.tar.gz
postgresql-4764ae823b78a602ebfe01a91084c4b1ec931554.zip
Do not accept interrupts in RESUME_INTERRUPTS() and END_CRIT_SECTION()
macros, but only at explicit CHECK_FOR_INTERRUPTS() calls. Not clear whether overenthusiastic acceptance of interrupts accounts for any real bugs, but it definitely seems risky and unnecessary.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 85d0346b65e..68ae795e6a7 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.243 2001/12/04 19:40:17 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.244 2002/01/01 23:16:22 tgl Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
@@ -1626,7 +1626,7 @@ PostgresMain(int argc, char *argv[], const char *username)
if (!IsUnderPostmaster)
{
puts("\nPOSTGRES backend interactive interface ");
- puts("$Revision: 1.243 $ $Date: 2001/12/04 19:40:17 $\n");
+ puts("$Revision: 1.244 $ $Date: 2002/01/01 23:16:22 $\n");
}
/*
@@ -1703,7 +1703,6 @@ PostgresMain(int argc, char *argv[], const char *username)
/*
* Exit interrupt holdoff section we implicitly established above.
- * (This could result in accepting a cancel or die interrupt.)
*/
RESUME_INTERRUPTS();
}