Re: Regression tests versus the buildfarm environment

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Regression tests versus the buildfarm environment
Дата
Msg-id 1281541360.26522.2.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: Regression tests versus the buildfarm environment  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Regression tests versus the buildfarm environment  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Regression tests versus the buildfarm environment  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-hackers
On ons, 2010-08-11 at 09:55 -0400, Tom Lane wrote:
> BTW, I don't know why anyone would think that "a random number" would
> offer any advantage here.  I'd use the postmaster PID, which is
> guaranteed to be unique across the space that you're worried about.
> In fact, you could implement this off the existing postmaster.pid,
> no need for any new file.  What's lacking is the pg_ping protocol.

Why not just compare pg_backend_pid() with postmaster.pid?



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Regression tests versus the buildfarm environment
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: assertions and constraint triggers