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.

TIA,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

Attachment: signature.asc
Description: Digital signature

Reply via email to