1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

pgindent run before PG 9.1 beta 1.

This commit is contained in:
Bruce Momjian
2011-04-10 11:42:00 -04:00
parent 9a8b73147c
commit bf50caf105
446 changed files with 5737 additions and 5258 deletions

View File

@ -137,7 +137,7 @@ static void process_pipe_input(char *logbuffer, int *bytes_in_logbuffer);
static void flush_pipe_input(char *logbuffer, int *bytes_in_logbuffer);
static void open_csvlogfile(void);
static FILE *logfile_open(const char *filename, const char *mode,
bool allow_errors);
bool allow_errors);
#ifdef WIN32
static unsigned int __stdcall pipeThread(void *arg);
@ -1017,8 +1017,8 @@ logfile_open(const char *filename, const char *mode, bool allow_errors)
mode_t oumask;
/*
* Note we do not let Log_file_mode disable IWUSR, since we certainly
* want to be able to write the files ourselves.
* Note we do not let Log_file_mode disable IWUSR, since we certainly want
* to be able to write the files ourselves.
*/
oumask = umask((mode_t) ((~(Log_file_mode | S_IWUSR)) & (S_IRWXU | S_IRWXG | S_IRWXO)));
fh = fopen(filename, mode);
@ -1035,7 +1035,7 @@ logfile_open(const char *filename, const char *mode, bool allow_errors)
}
else
{
int save_errno = errno;
int save_errno = errno;
ereport(allow_errors ? LOG : FATAL,
(errcode_for_file_access(),