How to use gethostbyname()

Поиск
Список
Период
Сортировка
Искать
От
Тема
How to use gethostbyname()
Дата
Msg-id
Pine.LNX.4.21.0102161521240.19826-100000@phillip.formstar.com
Ответ на
Список
Дерево обсуждения
how to see column comments? "Norman J. Clarke" <norman@combimatrix.com>
Re: how to see column comments? Christopher Sawtell <csawtell@xtra.co.nz>
In psql, gethostbyname() is defined as taking a text parameter and return an
inet type value or reference.

However, if you do

psql=# select gethostbyname('www.postgres.org');
 gethostbyname 
---------------
 
(1 row)

the inet address will be unprintable.

Has anyone got any idea?

Phillip Pan
-----------

В списке pgsql-general по дате отправления
От: [Bad-Knees]
Дата:
Сообщение: initdb: pg_encoding failed
От: Kapil Tilwani
Дата:
FAQ