Re: HEADS UP: Win32/OS2/BeOS native ports

Поиск
Список
Период
Сортировка
От Marc G. Fournier
Тема Re: HEADS UP: Win32/OS2/BeOS native ports
Дата
Msg-id 20020506104210.E32524-100000@mail1.hub.org
обсуждение исходный текст
Ответ на Re: HEADS UP: Win32/OS2/BeOS native ports  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: HEADS UP: Win32/OS2/BeOS native ports  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, 6 May 2002, Tom Lane wrote:

> "Marc G. Fournier" <scrappy@hub.org> writes:
> >> We could get around this, of course: record the port number in the data
> >> directory lockfile, and test for existence of the old socket
> >> independently of trying to create a new one.  But it seems ugly.
>
> > How about a second, data directory based socket simply named something
> > like '.inuse', that is not port dependent?
>
> Hmm ... but how do you use that to tell if there are still backends
> around?

As a backend is started up, connect to that socket ... if socket is open
when trying to start a new frontend, fail as there are currently other
connections attached to it?



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: HEADS UP: Win32/OS2/BeOS native ports
Следующее
От: Tom Lane
Дата:
Сообщение: Re: HEADS UP: Win32/OS2/BeOS native ports