Re: New cast between inet/cidr and bytea - Mailing list pgsql-hackers

From Tom Lane
Subject Re: New cast between inet/cidr and bytea
Date
Msg-id 21939.1180562420@sss.pgh.pa.us
Whole thread Raw
In response to New cast between inet/cidr and bytea  (Zoltan Boszormenyi <zb@cybertec.at>)
Responses Re: New cast between inet/cidr and bytea  (Zoltan Boszormenyi <zb@cybertec.at>)
List pgsql-hackers
Zoltan Boszormenyi <zb@cybertec.at> writes:
> we at Cybertec have developed cast functions in C between
> inet/cidr <-> bytea for a client and we would like to submit it.

Why is this a good idea?  Exposing the internal representation of a
datatype is usually bad.  What will you do when we add support for
scoped IPv6 addressing, to take one obvious example?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [COMMITTERS] pgsql: Make large sequential scans and VACUUMs work in a limited-size
Next
From: Josh Berkus
Date:
Subject: Query plan degradation 8.2 --> 8.3