Re: How to use gethostbyname() - Mailing list pgsql-general

From
Subject Re: How to use gethostbyname()
Date
Msg-id Pine.LNX.4.21.0102191051390.4906-100000@phillip.formstar.com
Whole thread Raw
In response to How to use gethostbyname()  (<phillip@formstar.com>)
List pgsql-general
I am running Postgres 7.0.0 and compiled Postgres myself. However, I did not add
any parameters to 'configure' script.

> <phillip@formstar.com> writes:
> > On Fri, 16 Feb 2001, Tom Lane wrote:
> >> <phillip@formstar.com> writes:
> > In psql, gethostbyname() is defined as taking a text parameter and return an
> > inet type value or reference.
> >>
> >> Huh?  There's no such function in the standard Postgres distribution.
>
> > If you do a '\df' at prompt, you will be able to see I am not lying.
>
> regression=# \df
> ...
>  text                     | format_type         | oid, integer
>  integer                  | get_bit             | bytea, integer
>  integer                  | get_byte            | bytea, integer
>  name                     | getdatabaseencoding |
>  name                     | getpgusername       |
>  integer                  | hashbpchar          | character
>  integer                  | hashchar            | "char"
>  integer                  | hashfloat4          | real
> ...
>
> It's not in 7.1, nor 7.0.  Where did you get it from?  Which Postgres
> version are you running, anyway?
>
>             regards, tom lane
>

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


pgsql-general by date:

Previous
From: Soma Interesting
Date:
Subject: Re: International support
Next
From: "Raghunath T"
Date:
Subject: Date difference in seconds