| От | Vadim B. Mikheev |
|---|---|
| Тема | Re: [HACKERS] Re: varchar() troubles (fwd) |
| Дата | |
| Msg-id | 34C1BD93.63D378BC@sable.krasnoyarsk.su обсуждение |
| Ответ на | Re: [HACKERS] Re: varchar() troubles (fwd) (Bruce Momjian <maillist@candle.pha.pa.us>) |
| Список | pgsql-hackers |
Bruce Momjian wrote:
>
> OK, we have a new pg_attribute column called 'atttypmod' for
> 'type-specific modifier'. Currently, it is only used to hold the char
> and varchar length, but I am sure will be used soon for other types.
Nice!
>
> Here is the test:
>
> test=> insert into test values ('asdfasdfasdfasdfasdfadsfasdf11',3);
> INSERT 18282 1
> test=> select * from test;
> x |y
> --------------------+-
> asdfasdfasdfasdfasdf|3
> (1 row)
>
> 'attlen' was certainly a confusing double-used field that I am glad to
> return to single-use status.
>
> I will be installing the patch soon, and will then start on subselects
> in the parser. It will probably take me until Monday to finish that.
Ok.
Vadim
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера