| От | Bruce Momjian |
|---|---|
| Тема | Re: AW: [HACKERS] Re: atttypmod of 0 |
| Дата | |
| Msg-id | 199802070211.VAA05245@candle.pha.pa.us обсуждение |
| Ответ на | Re: AW: [HACKERS] Re: atttypmod of 0 ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>) |
| Список | pgsql-hackers |
> > > > Yes, I think to change atttypmod to default to -1 would be the right > > > thing, > > > since the empty string '' really has a length of 0, > > > We could think of -1 as: We don't know how long this field will be. > > > 0 would mean the field has 0 bytes. > > > > Do people want atttypmod at -1 at this time? It will require a > > dump/reload. > > If it fixes problems, now is the time :) Well, right now, since it is not being used from anything by char() and varchar(), it is not a problem. But it will have to be changed when we use it for other types. So do we change it now? -- Bruce Momjian maillist@candle.pha.pa.us
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера