Re: [HACKERS] attlen weirdness?

Поиск
Список
Период
Сортировка
От Julia A.Case
Тема Re: [HACKERS] attlen weirdness?
Дата
Msg-id 19980311101605.36729@MageNet.com
обсуждение исходный текст
Ответ на Re: [HACKERS] attlen weirdness?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] attlen weirdness?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
Quoting Bruce Momjian (maillist@candle.pha.pa.us):
> I assume you are asking of attlen for char() and varchar() have the max
> length.  The answer is now NO.  They are varlena structures like text,
> and so have a attlen of -1.  Atttypmod for that pg_attribute row now has
> the defined length.
>

    Even for a char(4) field?  ok, if attlen doesn't give the
length of a field, how do I find it?

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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: indexing words slow
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] attlen weirdness?