| От | Sven Köhler |
|---|---|
| Тема | Re: full featured alter table? |
| Дата | |
| Msg-id | bcg00u$j83$2@main.gmane.org обсуждение исходный текст |
| Ответ на | Re: full featured alter table? (weigelt@metux.de) |
| Ответы |
Re: full featured alter table?
|
| Список | pgsql-general |
>>It'd be nice if it allows you to change the type from varchar(40) >>to varchar(20) if you don't have any data that is larger than varchar(20). > > Yeah, and then an application comes in and wants to write more than > 20 chars ... why should i define a column as varchar(20) and should than want to write more data than that? i'd only define it as varchar(20) if i'm sure that 20 chars are enough. > well, i dont like such size limitations at all - i'm using "text" instead. > what about efficiency ? does it bring _anything_ to limit the size > of varchar fields ? well - than use text instead of varchar.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера