Skip to content

Commit 96f1345

Browse files
committed
Fix prototype for on_proc_exit in log_disconnections patch.
1 parent c53611e commit 96f1345

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/tcop/postgres.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.390 2004/02/17 03:54:57 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.391 2004/02/17 04:06:26 momjian Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -152,7 +152,7 @@ static void start_xact_command(void);
152152
static void finish_xact_command(void);
153153
static void SigHupHandler(SIGNAL_ARGS);
154154
static void FloatExceptionHandler(SIGNAL_ARGS);
155-
static void log_session_end(void);
155+
static void log_session_end(int code, Datum arg);
156156

157157

158158
/* ----------------------------------------------------------------
@@ -3196,7 +3196,7 @@ ShowUsage(const char *title)
31963196
* on_proc_exit handler to log end of session
31973197
*/
31983198
static void
3199-
log_session_end(void)
3199+
log_session_end(int code, Datum arg)
32003200
{
32013201
Port * port = MyProcPort;
32023202
struct timeval end;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy