Re: [HACKERS] attlen weirdness? - Mailing list pgsql-hackers

From Julia A.Case
Subject Re: [HACKERS] attlen weirdness?
Date
Msg-id 19980311102129.60223@MageNet.com
Whole thread Raw
In response to Re: [HACKERS] attlen weirdness?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] attlen weirdness?  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
Quoting Bruce Momjian (maillist@candle.pha.pa.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. ]

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] attlen weirdness?
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] varchar() vs char16 performance