AW: F_SETLK is looking worse and worse...

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: F_SETLK is looking worse and worse...
Дата
Msg-id 11C1E6749A55D411A9670001FA687963368158@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Ответы Re: AW: F_SETLK is looking worse and worse...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> BTW, it also seems like a good idea to reorder the postmaster's
> startup operations so that the data-directory lockfile is checked
> before trying to acquire the port lockfile, instead of after.  That
> way, in the common scenario where you're trying to start a second
> postmaster in the same directory + same port, it'd fail cleanly
> even if /tmp/.s.PGSQL.5432.lock had disappeared.

Fine, sounds like reordering would eliminate the need for the socket lock 
anyway, no ?

Andreas


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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: Re: LOCK Fixes/Break on FreeBSD 4.2-STABLE
Следующее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: beta testing version