Re: How to use gethostbyname()

From: <phillip(at)formstar(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to use gethostbyname()
Date: 2001-02-18 23:53:33
Message-ID: Pine.LNX.4.21.0102191051390.4906-100000@phillip.formstar.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am running Postgres 7.0.0 and compiled Postgres myself. However, I did not add
any parameters to 'configure' script.

> <phillip(at)formstar(dot)com> writes:
> > On Fri, 16 Feb 2001, Tom Lane wrote:
> >> <phillip(at)formstar(dot)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
-----------

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-02-19 00:07:39 Re: How to use gethostbyname()
Previous Message Paul M Foster 2001-02-18 23:51:36 Dbf to Pg converter