PostgreSQL does not start when max_files_per_process> 1200 on Windows7 - Mailing list pgsql-hackers

From Victor Spirin
Subject PostgreSQL does not start when max_files_per_process> 1200 on Windows7
Date
Msg-id 04d9905f-b39a-af67-7768-baf9eacc14a3@postgrespro.ru
Whole thread Raw
Responses Re: PostgreSQL does not start when max_files_per_process> 1200 onWindows 7  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hi,

I have a bug in Windows 7 with max_files_per_process> 1200.

Using dup (0) in the  function count_usable_fds more than 1200 times (0 
= stdin) causes further unpredictable errors with file operations.

When I open a real file and use its descriptor for the dup, no error 
occurs. In the patch I check the file postgresql.conf


-- 
Victor Spirin
Postgres Professional:http://www.postgrespro.com
The Russian Postgres Company


Attachment

pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: [HACKERS] Bug in to_timestamp().
Next
From: Christoph Berg
Date:
Subject: Re: Collation versioning