aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-10-04 20:17:11 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-10-04 20:17:11 +0000
commitf8009e178605d986055d6d7fd9487a69e6d1dd1d (patch)
tree22bac80ef19127b5399ae6c3e3b25296ff538397 /src/backend/tcop/postgres.c
parent312b4dabfee8a490c5c8e8acf708e09a6a551b8c (diff)
downloadpostgresql-f8009e178605d986055d6d7fd9487a69e6d1dd1d.tar.gz
postgresql-f8009e178605d986055d6d7fd9487a69e6d1dd1d.zip
The remainder of D'Arcy's changes, most notibly the usage of SIGNAL_ARGS
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 43fb9003c7f..dd638c03c72 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.8 1996/09/16 05:36:38 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.9 1996/10/04 20:16:32 scrappy Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
@@ -707,13 +707,13 @@ pg_eval_dest(char *query_string, /* string to execute */
*/
void
-handle_warn()
+handle_warn(SIGNAL_ARGS)
{
siglongjmp(Warn_restart, 1);
}
void
-quickdie()
+quickdie(SIGNAL_ARGS)
{
elog(NOTICE, "I have been signalled by the postmaster.");
elog(NOTICE, "Some backend process has died unexpectedly and possibly");
@@ -731,14 +731,14 @@ quickdie()
}
void
-die()
+die(SIGNAL_ARGS)
{
ExitPostgres(0);
}
/* signal handler for floating point exception */
void
-FloatExceptionHandler()
+FloatExceptionHandler(SIGNAL_ARGS)
{
elog(WARN, "floating point exception! the last floating point operation eit\
her exceeded legal ranges or was a divide by zero");
@@ -1269,7 +1269,7 @@ PostgresMain(int argc, char *argv[])
*/
if (IsUnderPostmaster == false) {
puts("\nPOSTGRES backend interactive interface");
- puts("$Revision: 1.8 $ $Date: 1996/09/16 05:36:38 $");
+ puts("$Revision: 1.9 $ $Date: 1996/10/04 20:16:32 $");
}
/* ----------------