| От | Thomas Lockhart |
|---|---|
| Тема | Re: [HACKERS] defalut value |
| Дата | |
| Msg-id | 37399E78.7F8B76A3@alumni.caltech.edu обсуждение |
| Ответ на | Re: [HACKERS] defalut value (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
> I think somehow, somewhere, the size of the default value is getting
> used instead of the size of the field itself. Weird. Is it specific
> to char(n), perhaps? That might help explain how the bug got past
> the regression tests.
I'm pretty sure it is specific to char(n), and it is due to the 4 byte
difference in length between the string and the storage. When we fix
this one we will also fix the "c char(2) default ''" problem too.
In fact, I could have sworn I already had looked at it. Oh well.
- Tom
--
Thomas Lockhart lockhart@alumni.caltech.edu
South Pasadena, California
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера