Re: Sebastian Harl 2008-06-29 <20080629190552.ga13...@albany.tokkee.org> > Package: postgresql-doc-8.3 > Version: 8.3.3-1 > Severity: wishlist > > Hi, > > The current implementation of PQconnectdb() used getaddrinfo() to > resolve the host specified by the "host" parameter. This makes it > possible to specify numeric IP addresses via this parameter as well, > which I consider to be a feature. However, this feature is undocumented > - the PostgreSQL documentation only talks about host names (see section > 30.1. - Database Connection Control Functions). Now, I don't really like > to use undocumented features when programming so I would really love to > see this documented and thus officially supported. This could be done > either by mentioning that IP addresses may be specified as well or by > pointing out that getaddrinfo() is used for resolving the host.
Hi, just digging through old bug reports that are still assigned to removed packages... I'd think almost any program that accepts host names will also accept IP addresses, so this is hardly a surprising feature. If you still think this deserves to be mentioned in the documentation, please try to submit a patch to the pgsql-hackers list. I'll close the Debian bug here. Sorry for the somewhat late response. Christoph -- c...@df7cb.de | http://www.df7cb.de/
signature.asc
Description: Digital signature