Re: embedded sql interface to ip address type - Mailing list pgsql-interfaces

From Rob Fowler
Subject Re: embedded sql interface to ip address type
Date
Msg-id 008001c2f01a$9cdcfee0$fb01a8c0@mianos
Whole thread Raw
In response to embedded sql interface to ip address type  (Rob Fowler <postgres@mianos.com>)
List pgsql-interfaces
> What exactly do you mean?  A C type for IP addresses? That doesn't
> exist. Right now this type has to be stored in character strings.

Thanks for the answer Michael. That was exactly what I meant and your answer
was exactly what I needed. I thought I needed to bind the address structure
to the ipaddr column but that did not work so I changed the type to text and
converted the address to a char string. Now you tell me it's just text, I
went back and changed the database datatype to inet address and it's all
good.
--
Rob Fowler



pgsql-interfaces by date:

Previous
From: "Rob Fowler"
Date:
Subject: Re: esql problem
Next
From: "Dave Page"
Date:
Subject: Re: [HACKERS] Roadmap for FE/BE protocol redesign