Re: abstract Unix-domain sockets

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: abstract Unix-domain sockets
Дата
Msg-id 5d2dc07b-1495-ae79-9034-8f45e7e7ca80@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: abstract Unix-domain sockets  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: abstract Unix-domain sockets
Список pgsql-hackers
On 2020-11-20 18:23, David G. Johnston wrote:
> If there is dead code there is an underlying problem to 
> address/discover, not just removing the dead code.  In this case are we 
> saying that a new server won’t ever fail to start because the socket 
> file exists but instead will just clobber the file with its own?  

Yes.  (In practice, there will be an error with respect to the lock file 
before you even get to that question, but that is different code elsewhere.)

> Because given that error, and a server process that failed to clean up 
> after itself, the correction to take would indeed seem to be to manually 
> remove the file as the hint says.  IOW, fix the code, not the message?

I don't understand that.

-- 
Peter Eisentraut
2ndQuadrant, an EDB company
https://www.2ndquadrant.com/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Daniil Zakhlystov
Дата:
Сообщение: Re: libpq compression
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: [PoC] Non-volatile WAL buffer