Re: pg_service.conf
От | Douglas McNaught |
---|---|
Тема | Re: pg_service.conf |
Дата | |
Msg-id | 87d5hjtmyu.fsf@suzuka.mcnaught.org обсуждение исходный текст |
Ответ на | Re: pg_service.conf (Simon Riggs <simon@2ndquadrant.com>) |
Ответы |
Re: pg_service.conf
|
Список | pgsql-hackers |
Simon Riggs <simon@2ndquadrant.com> writes: > A server-side (i.e. centrally managed) name server seems like an > improvement over the client-side solutions described, IMHO, but I'd > leave it to others to describe how that might work. (e.g. DNS is a > better solution than multiple distributed /etc/hosts files). Funnily enough, you could *use* DNS for this--you could define a custom RR type containing hostname, port, database etc and have entries in DNS for each "service" (e.g. 'production-db.mycorp.com'). I think HESIOD used this mechanism. Of course, you'd need an internal DNS server that you had full control over... -Doug
В списке pgsql-hackers по дате отправления: