Re: [BUGS] log : bad file dscriptor???? - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: [BUGS] log : bad file dscriptor????
Date
Msg-id 49C0B50D.7090901@enterprisedb.com
Whole thread Raw
In response to Re: [BUGS] log : bad file dscriptor????  (Gurjeet Singh <singh.gurjeet@gmail.com>)
Responses Re: [BUGS] log : bad file dscriptor????  (Gurjeet Singh <singh.gurjeet@gmail.com>)
List pgsql-hackers
Gurjeet Singh wrote:
>     On Windows, the write to log file is done by a thread (whose main
> function is pipeThread() ), and since it works completely independent of the
> SysLoggerMain() ( which is responsible for calling logfile_rotate()
> periodically, which in turn changes the global variable syslogFile) this is
> causing a race condition due to an error in the way we are using the related
> critical section.

Thanks, committed. I hope this helps with Ati's problems.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: Solaris getopt_long and PostgreSQL
Next
From: Sergey Burladyan
Date:
Subject: gettext, plural form and translation