Re: Adding Rendezvous support to postmaster

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Adding Rendezvous support to postmaster
Дата
Msg-id 200306111424.h5BEOak19247@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Adding Rendezvous support to postmaster  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Adding Rendezvous support to postmaster  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I also _didn't_ add the Rendezvous GUC variable, so we default to the
> > host name.  If there is need, we can add it later.
>
> How do you figure there is not need for it?  What about running more
> than one postmaster at a time?

No one brought up that idea, and Chris agreed we could try it without
it.  Chris, is that an issue?  I see the port number in the Rendezvous
function call:

                if (service_name != NULL)
                {
                        DNSServiceRegistrationCreate(NULL,  /* default to hostname */
                                                     "_postgresql._tcp.",
                                                     "",
                                                     htonl(PostPortNumber),
                                                     "",
                                                     (DNSServiceRegistrationReply)reg_reply,
                                                     NULL);

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Adding Rendezvous support to postmaster
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: perform.sgml update