Re: Field length ??

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: Field length ??
Дата
Msg-id 4447AA89.9060405@logix-tt.com
обсуждение исходный текст
Ответ на Re: Field length ??  (Frank Bax <fbax@sympatico.ca>)
Ответы Re: Field length ??  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Hi, Frank,

Frank Bax wrote:

> Except that the original fields were neither variable length datatypes,
> not type text.
>         create table test(]
>         satu char(10),
>         dua char(5)
>         );

char is a textual type (in opposite to numeric types), and they are
handled as variable length datatypes internally (even if given a limit).

See http://www.postgresql.org/docs/8.1/static/datatype-character.html

HTH,
Markus
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org


В списке pgsql-sql по дате отправления:

Предыдущее
От: Frank Bax
Дата:
Сообщение: Re: Field length ??
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Field length ??