From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Florian Weimer <fw(at)deneb(dot)enyo(dot)de> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: IPv4 addresses, unsigned integers, space |
Date: | 2003-07-15 15:07:36 |
Message-ID: | 22631.1058281656@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Florian Weimer <fw(at)deneb(dot)enyo(dot)de> writes:
> If I switched from signed integers to unsigned integers (and from INET
> to "real" IPv4 addresses, consisting of the relevant 32 bits only) I
> think I could save about 25% of my table size.
> Does PostgreSQL already implement these data types? I don't think so.
> If I succeed in implementing them, would you accept a patch?
I doubt you will find any enthusiasm for a dumbed-down INET type,
considering that IPv6 capability will be increasingly necessary in
the future.
As for unsigned ints, I have no objection to 'em in principle, but
in practice we have more than enough problems already deducing the
appropriate type for a numeric constant. Unless you've got a super
new solution to that set of problems, adding unsigned ints to the
numeric hierarchy is going to be unmanageable.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Mike Quinn | 2003-07-15 15:21:58 | Re: [BUGS] pg_tables view definition incorrect?? |
Previous Message | scott.marlowe | 2003-07-15 15:02:21 | Re: Are you frustrated with PostgreSQL |