File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 88 *
99 *
1010 * IDENTIFICATION
11- * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.392 2004/02/17 04:09:26 momjian Exp $
11+ * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.393 2004/02/21 06:29:58 tgl Exp $
1212 *
1313 * NOTES
1414 * this is the "main" module of the postgres backend and
@@ -3240,8 +3240,9 @@ log_disconnections(int code, Datum arg)
32403240 snprintf (session_time ,sizeof (session_time ),"negative!" );
32413241 else
32423242 /* for stricter accuracy here we could round - this is close enough */
3243- snprintf (session_time , sizeof (session_time ),"%d:%02d:%02d.%02ld" ,
3244- hours , minutes , seconds , end .tv_usec /10000 );
3243+ snprintf (session_time , sizeof (session_time ),
3244+ "%d:%02d:%02d.%02d" ,
3245+ hours , minutes , seconds , (int ) (end .tv_usec /10000 ));
32453246
32463247 ereport (
32473248 LOG ,
Original file line number Diff line number Diff line change 1111 * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
1212 * Portions Copyright (c) 1994, Regents of the University of California
1313 *
14- * $PostgreSQL: pgsql/src/include/libpq/libpq-be.h,v 1.40 2004/02/17 03:54:57 momjian Exp $
14+ * $PostgreSQL: pgsql/src/include/libpq/libpq-be.h,v 1.41 2004/02/21 06:29:58 tgl Exp $
1515 *
1616 *-------------------------------------------------------------------------
1717 */
1818#ifndef LIBPQ_BE_H
1919#define LIBPQ_BE_H
2020
21- #include "libpq/hba.h"
22- #include "libpq/pqcomm.h"
23-
21+ #include <sys/time.h>
2422#ifdef USE_SSL
2523#include <openssl/ssl.h>
2624#include <openssl/err.h>
2725#endif
2826
27+ #include "libpq/hba.h"
28+ #include "libpq/pqcomm.h"
29+
2930
3031typedef enum CAC_state
3132{
You can’t perform that action at this time.
0 commit comments