Re: Pinned files at Windows
| От | Robert Haas |
|---|---|
| Тема | Re: Pinned files at Windows |
| Дата | |
| Msg-id | CA+TgmoYQ1P6WrT-td+8z904JWb2ePpu0abavAHOi4NbnDYO52w@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Pinned files at Windows (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>) |
| Ответы |
Re: Pinned files at Windows
|
| Список | pgsql-hackers |
On Thu, May 30, 2019 at 3:25 AM Konstantin Knizhnik <k.knizhnik@postgrespro.ru> wrote: > If call of stat() is succeed, then my assumption is that the only reason > of GetFileAttributesEx > failure is that file is deleted and returning ENOENT error code in this > case is correct behavior. In my experience, the assumption "the only possible cause of an error during X is Y" turns out to be wrong nearly 100% of the time. Our job is to report the errors the OS gives us, not guess what they mean. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: