|
8 | 8 | *
|
9 | 9 | *
|
10 | 10 | * 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 $ |
12 | 12 | *
|
13 | 13 | * NOTES
|
14 | 14 | * this is the "main" module of the postgres backend and
|
@@ -152,7 +152,7 @@ static void start_xact_command(void);
|
152 | 152 | staticvoidfinish_xact_command(void);
|
153 | 153 | staticvoidSigHupHandler(SIGNAL_ARGS);
|
154 | 154 | staticvoidFloatExceptionHandler(SIGNAL_ARGS);
|
155 |
| -staticvoidlog_session_end(intcode,Datumarg); |
| 155 | +staticvoidlog_disconnections(intcode,Datumarg); |
156 | 156 |
|
157 | 157 |
|
158 | 158 | /* ----------------------------------------------------------------
|
@@ -2447,7 +2447,7 @@ PostgresMain(int argc, char *argv[], const char *username)
|
2447 | 2447 | * set up handler to log session end.
|
2448 | 2448 | */
|
2449 | 2449 | if (IsUnderPostmaster&&Log_disconnections)
|
2450 |
| -on_proc_exit(log_session_end,0); |
| 2450 | +on_proc_exit(log_disconnections,0); |
2451 | 2451 | }
|
2452 | 2452 |
|
2453 | 2453 | /*
|
@@ -3196,7 +3196,7 @@ ShowUsage(const char *title)
|
3196 | 3196 | * on_proc_exit handler to log end of session
|
3197 | 3197 | */
|
3198 | 3198 | staticvoid
|
3199 |
| -log_session_end(intcode,Datumarg) |
| 3199 | +log_disconnections(intcode,Datumarg) |
3200 | 3200 | {
|
3201 | 3201 | Port*port=MyProcPort;
|
3202 | 3202 | structtimevalend;
|
|