Re: Multiple logical databases

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Multiple logical databases
Дата
Msg-id 20060203133425.GB5009@svana.org
обсуждение исходный текст
Ответ на Re: Multiple logical databases  ("Mark Woodward" <pgsql@mohawksoft.com>)
Список pgsql-hackers
On Fri, Feb 03, 2006 at 08:05:48AM -0500, Mark Woodward wrote:
> Using the "/etc/hosts" file or DNS to maintain host locations for is a
> fairly common and well known practice, but there is no such mechanism for
> "ports." The problem now becomes a code issue, not a system administration
> issue.

Actually, there is, it's in /etc/services and the functions are
getservbyname and getservbyport. I wonder if it'd be possible to have
psql use this if you put a string in the port part of the connect
string.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

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

Предыдущее
От: Chris Campbell
Дата:
Сообщение: Re: Passing arguments to views
Следующее
От: Chris Campbell
Дата:
Сообщение: Re: Multiple logical databases