Re: Errands around AllocateDir()
От | Alvaro Herrera |
---|---|
Тема | Re: Errands around AllocateDir() |
Дата | |
Msg-id | 20171204191134.2cpxmvvn7fkwaze5@alvherre.pgsql обсуждение исходный текст |
Ответ на | Re: Errands around AllocateDir() (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Errands around AllocateDir()
|
Список | pgsql-hackers |
Tom Lane wrote: > Yeah, agreed. The only thing I'm concerned about back-patching is > the places where a wrong errno might be reported. If we're currently reporting "could not open dir: Success" then backpatching such a fix is definitely an improvement. OTOH if currently we have opendir() trying to report a failure, then LWLockRelease replace the errno because something completely unrelated also failed, having the message report exactly the opendir() failure rather than the lwlock failure is surely also an improvement. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления: