| От | Bruce Momjian |
|---|---|
| Тема | Re: AW: AW: [HACKERS] Re: atttypmod of 0 |
| Дата | |
| Msg-id | 199802061801.NAA15051@candle.pha.pa.us обсуждение |
| Ответ на | AW: AW: [HACKERS] Re: atttypmod of 0 (Zeugswetter Andreas DBT <Andreas.Zeugswetter@telecom.at>) |
| Список | pgsql-hackers |
> > I guess I don't have a strong opinion on that. Since atttypmod is also > intended for > decimal and others, I think the default has to be type specific anyway, > like 0 digits after the comma for decimal. > I would prefer an atttypmod that does not include the VARHDRSZ for > varchar though. > Then it would simply be the max length (better for humans reading the > system catalog). > The default of zero would still be no problem I guess, since max zero > length is still nonsense. I indented to change it to -1 when we start using atttypmod for more types that just char() and varchar(). -- Bruce Momjian maillist@candle.pha.pa.us
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера