diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-02-17 04:06:26 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-02-17 04:06:26 +0000 |
commit | 96f134550c40645b153e22208f888c83303f8aec (patch) | |
tree | 99f7428ba7b1cfcdebcc612a95306d4819f94cb2 /src/backend/tcop/postgres.c | |
parent | c53611e3e7dc74c0c7dd79c78873fda1887f5b7f (diff) | |
download | postgresql-96f134550c40645b153e22208f888c83303f8aec.tar.gz postgresql-96f134550c40645b153e22208f888c83303f8aec.zip |
Fix prototype for on_proc_exit in log_disconnections patch.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 19cb8909ac9..c5f8bc07d6c 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.390 2004/02/17 03:54:57 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.391 2004/02/17 04:06:26 momjian Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -152,7 +152,7 @@ static void start_xact_command(void); static void finish_xact_command(void); static void SigHupHandler(SIGNAL_ARGS); static void FloatExceptionHandler(SIGNAL_ARGS); -static void log_session_end(void); +static void log_session_end(int code, Datum arg); /* ---------------------------------------------------------------- @@ -3196,7 +3196,7 @@ ShowUsage(const char *title) * on_proc_exit handler to log end of session */ static void -log_session_end(void) +log_session_end(int code, Datum arg) { Port * port = MyProcPort; struct timeval end; |