Re: repmgr problem with registering standby

Поиск
Список
Период
Сортировка
От David Johnston
Тема Re: repmgr problem with registering standby
Дата
Msg-id 84553DDE-1004-4A40-99EC-B60F6CF1C2C5@yahoo.com
обсуждение исходный текст
Ответ на Re: repmgr problem with registering standby  (Toby Corkindale <toby.corkindale@strategicdata.com.au>)
Список pgsql-general
> For that matter - is there a reason it has to be an integer? Allowing hostnames there would be more friendly. Using
integersmeans someone has to maintain a mapping on node IDs to hostnames in a separate place, and then that leads to
mistakes,like someone thinking the standby node (2) is the master hostname :/ 
>
>
As a quick observation, the host name, by itself, doesn't seem to be a candidate key.  It would probably have made
senseto use a varchar instead of an integer but it seems people treat such a key type as forbidden. 

David J.

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

Предыдущее
От: Toby Corkindale
Дата:
Сообщение: Re: repmgr problem with registering standby
Следующее
От: Gianpiero Venditti
Дата:
Сообщение: Re: Postgres 8.3 Function returning a row with different number of colums