Re: New cast between inet/cidr and bytea

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zoltan Boszormenyi <zb(at)cybertec(dot)at>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: New cast between inet/cidr and bytea
Date: 2007-05-30 22:00:20
Message-ID: 21939.1180562420@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zoltan Boszormenyi <zb(at)cybertec(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2007-05-30 22:51:16 Query plan degradation 8.2 --> 8.3
Previous Message Alvaro Herrera 2007-05-30 21:09:55 Re: [COMMITTERS] pgsql: Make large sequential scans and VACUUMs work in a limited-size