Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit530570c

Browse files
committed
Rename function log_session_end to log_disconnections.
1 parent96f1345 commit530570c

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
staticvoidfinish_xact_command(void);
153153
staticvoidSigHupHandler(SIGNAL_ARGS);
154154
staticvoidFloatExceptionHandler(SIGNAL_ARGS);
155-
staticvoidlog_session_end(intcode,Datumarg);
155+
staticvoidlog_disconnections(intcode,Datumarg);
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
staticvoid
3199-
log_session_end(intcode,Datumarg)
3199+
log_disconnections(intcode,Datumarg)
32003200
{
32013201
Port*port=MyProcPort;
32023202
structtimevalend;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp