| From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
|---|---|
| To: | Mark Woodward <pgsql(at)mohawksoft(dot)com> |
| Cc: | Tino Wildenhain <tino(at)wildenhain(dot)de>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com> |
| Subject: | Re: Multiple logical databases |
| Date: | 2006-02-03 13:34:25 |
| Message-ID: | 20060203133425.GB5009@svana.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
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(at)svana(dot)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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Chris Campbell | 2006-02-03 13:47:05 | Re: Multiple logical databases |
| Previous Message | Chris Campbell | 2006-02-03 13:33:23 | Re: Passing arguments to views |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Chris Campbell | 2006-02-03 13:47:05 | Re: Multiple logical databases |
| Previous Message | Doug McNaught | 2006-02-03 13:24:21 | Re: Multiple logical databases |