Skip site navigation (1) Skip section navigation (2)

Re: log : bad file dscriptor????

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com>
Cc: PGSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-bugs(at)postgresql(dot)org, Ati Rosselet <ati(dot)rosselet(at)gmail(dot)com>
Subject: Re: log : bad file dscriptor????
Date: 2009-03-18 08:47:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugspgsql-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

In response to


pgsql-hackers by date

Next:From: Sergey BurladyanDate: 2009-03-18 09:21:03
Subject: gettext, plural form and translation
Previous:From: Zdenek KotalaDate: 2009-03-18 08:29:29
Subject: Re: Solaris getopt_long and PostgreSQL

pgsql-bugs by date

Next:From: Heikki LinnakangasDate: 2009-03-18 09:44:43
Subject: Re: BUG #4714: Unicode Big5 Conversion
Previous:From: VENDate: 2009-03-18 03:03:15
Subject: BUG #4715: libpq `PQgetlength' return invalid field length.

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group