From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | vixie(at)vix(dot)com (Paul A Vixie) |
Cc: | pgsql-hackers(at)hub(dot)org |
Subject: | Re: [HACKERS] cidr |
Date: | 1998-07-21 21:09:31 |
Message-ID: | 199807212109.RAA04863@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> My question is, do those types have an internal framing format with an outer
> length and an inner opaque structure, or does each one have a "length"
> accessor to which an opaque structure is passed? In the former case, we'll
> be burning more space on a length indicator even though the address family
> and prefix length are in the opaque part of the structure. In the latter
> case, there's no big deal at all since given the address family and prefix
> length, an accessor can tell the type system the size of a particular datum.
The length is on every field. atttypmod is a fixed value stored in the
attribute table, and is used to modify the handling of all value in that
column. We currently only use it for char(3)/varchar(30), etc.
--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1998-07-21 21:48:25 | Re: [HACKERS] cidr |
Previous Message | Ken McGlothlen | 1998-07-21 21:03:00 | Re: [GENERAL] Re: [HACKERS] [Fwd: SGVLLUG Oracle and Informix on Linux] |