Re: [HACKERS] attlen weirdness?

From: "Julia A(dot)Case" <julie(at)hub(dot)org>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, "Julia A(dot)Case" <julie(at)postgreSQL(dot)org>
Cc: julie(at)hub(dot)org, scrappy(at)hub(dot)org, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] attlen weirdness?
Date: 1998-03-11 10:21:29
Message-ID: 19980311102129.60223@MageNet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Quoting Bruce Momjian (maillist(at)candle(dot)pha(dot)pa(dot)us):
>
> pg_attribute.atttypmod.
>
this field appears to be field size + 4
in a char(1024) field it returns 1028
in a char(10) it returns 14

is it padded?

Julie

--
[ Julia Anne Case ] [ Ships are safe inside the harbor, ]
[Programmer at large] [ but is that what ships are really for. ]
[ Admining Linux ] [ To thine own self be true. ]
[ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1998-03-11 13:11:48 Re: [HACKERS] attlen weirdness?
Previous Message Julia A.Case 1998-03-11 10:16:05 Re: [HACKERS] attlen weirdness?