Content-Length: 306250 | pFad | http://github.com/postgrespro/postgres/commit/530570c598454bde0e5412d774f848c426a0f6eb

83 Rename function log_session_end to log_disconnections. · postgrespro/postgres@530570c · GitHub
Skip to content

Commit 530570c

Browse files
committed
Rename function log_session_end to log_disconnections.
1 parent 96f1345 commit 530570c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/tcop/postgres.c

Lines changed: 4 additions & 4 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.391 2004/02/17 04:06:26 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.392 2004/02/17 04:09: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(int code, Datum arg);
155+
static void log_disconnections(int code, Datum arg);
156156

157157

158158
/* ----------------------------------------------------------------
@@ -2447,7 +2447,7 @@ PostgresMain(int argc, char *argv[], const char *username)
24472447
* set up handler to log session end.
24482448
*/
24492449
if (IsUnderPostmaster && Log_disconnections)
2450-
on_proc_exit(log_session_end,0);
2450+
on_proc_exit(log_disconnections,0);
24512451
}
24522452

24532453
/*
@@ -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(int code, Datum arg)
3199+
log_disconnections(int code, Datum arg)
32003200
{
32013201
Port * port = MyProcPort;
32023202
struct timeval end;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/530570c598454bde0e5412d774f848c426a0f6eb

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy