diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-06-09 18:02:36 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-06-09 18:02:36 -0400 |
commit | 4bc424b968058c7f0aa685821d7039e86faac99c (patch) | |
tree | a4e245ae67bd11edb3926ff5fb3b0223438ac283 /src/backend/utils/error/elog.c | |
parent | 9164deea2f4ac90ee5e008ff41fc5ad4423887b2 (diff) |
pgindent run for 9.6
Diffstat (limited to 'src/backend/utils/error/elog.c')
-rw-r--r-- | src/backend/utils/error/elog.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/utils/error/elog.c b/src/backend/utils/error/elog.c index 740f089ccdb..78d441d1987 100644 --- a/src/backend/utils/error/elog.c +++ b/src/backend/utils/error/elog.c @@ -150,8 +150,8 @@ static int recursion_depth = 0; /* to detect actual recursion */ * both log_line_prefix and csv logs. */ -static struct timeval saved_timeval; -static bool saved_timeval_set = false; +static struct timeval saved_timeval; +static bool saved_timeval_set = false; #define FORMATTED_TS_LEN 128 static char formatted_start_time[FORMATTED_TS_LEN]; @@ -1467,9 +1467,9 @@ EmitErrorReport(void) * mechanisms. * * The log hook has access to both the translated and original English - * error message text, which is passed through to allow it to be used - * as a message identifier. Note that the original text is not available - * for detail, detail_log, hint and context text elements. + * error message text, which is passed through to allow it to be used as a + * message identifier. Note that the original text is not available for + * detail, detail_log, hint and context text elements. */ if (edata->output_to_server && emit_log_hook) (*emit_log_hook) (edata); @@ -2467,7 +2467,7 @@ log_line_prefix(StringInfo buf, ErrorData *edata) break; case 'n': { - char strfbuf[128]; + char strfbuf[128]; if (!saved_timeval_set) { @@ -2476,7 +2476,7 @@ log_line_prefix(StringInfo buf, ErrorData *edata) } sprintf(strfbuf, "%ld.%03d", saved_timeval.tv_sec, - (int)(saved_timeval.tv_usec / 1000)); + (int) (saved_timeval.tv_usec / 1000)); if (padding != 0) appendStringInfo(buf, "%*s", padding, strfbuf); |