diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-08-08 21:42:59 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-08-08 21:42:59 +0000 |
commit | 46785776c42143af8f5433bb580ff13f2a9f65e1 (patch) | |
tree | 0c1f6da64634a202ff20176865b4a9dc69b8ac40 /src/backend/utils/error/elog.c | |
parent | 0e2b12bd9689ac4fd353f7dba33dd796d0e3a07d (diff) |
Another pgindent run with updated typedefs.
Diffstat (limited to 'src/backend/utils/error/elog.c')
-rw-r--r-- | src/backend/utils/error/elog.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/utils/error/elog.c b/src/backend/utils/error/elog.c index ccbb74bb4ad..0a4d85436d1 100644 --- a/src/backend/utils/error/elog.c +++ b/src/backend/utils/error/elog.c @@ -37,7 +37,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.118 2003/08/04 02:40:06 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.119 2003/08/08 21:42:11 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -115,7 +115,7 @@ typedef struct ErrorData char *context; /* context message */ int cursorpos; /* cursor index into query string */ int saved_errno; /* errno at entry */ -} ErrorData; +} ErrorData; /* We provide a small stack of ErrorData records for re-entrant cases */ #define ERRORDATA_STACK_SIZE 5 @@ -138,9 +138,9 @@ static int recursion_depth = 0; /* to detect actual recursion */ } while (0) -static void send_message_to_server_log(ErrorData * edata); -static void send_message_to_frontend(ErrorData * edata); -static char *expand_fmt_string(const char *fmt, ErrorData * edata); +static void send_message_to_server_log(ErrorData *edata); +static void send_message_to_frontend(ErrorData *edata); +static char *expand_fmt_string(const char *fmt, ErrorData *edata); static const char *useful_strerror(int errnum); static const char *error_severity(int elevel); static const char *print_timestamp(void); @@ -1024,7 +1024,7 @@ write_syslog(int level, const char *line) * Write error report to server's log */ static void -send_message_to_server_log(ErrorData * edata) +send_message_to_server_log(ErrorData *edata) { StringInfoData buf; @@ -1151,7 +1151,7 @@ send_message_to_server_log(ErrorData * edata) * Write error report to client */ static void -send_message_to_frontend(ErrorData * edata) +send_message_to_frontend(ErrorData *edata) { StringInfoData msgbuf; @@ -1289,7 +1289,7 @@ send_message_to_frontend(ErrorData * edata) * The result is a palloc'd string. */ static char * -expand_fmt_string(const char *fmt, ErrorData * edata) +expand_fmt_string(const char *fmt, ErrorData *edata) { StringInfoData buf; const char *cp; |