atttypmod encoding

Поиск
Список
Период
Сортировка
От RW Shore
Тема atttypmod encoding
Дата
Msg-id AANLkTik_MU-Enu+LS0UiTaLuHja-v_AA_O91x1+Lt7qV@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Catalog pg_attribute contains interesting type-specific information in attribute atttypmod. Can someone verify that these encodings are correct?

CHAR and VARCHAR: 4 + the declared length. Example: CHAR(5) -> 9 in atttypmod
NUMERIC(p,s): 4 + the long with p in the left-most 4 bytes and s in the right-most

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