| От | Tom Lane |
|---|---|
| Тема | Re: Selecting a constant question |
| Дата | |
| Msg-id | 26701.1181601286@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Selecting a constant question ("Dann Corbit" <DCorbit@connx.com>) |
| Ответы |
Re: Selecting a constant question
|
| Список | pgsql-hackers |
"Dann Corbit" <DCorbit@connx.com> writes:
> Giving me the information about the data type will be enough. As an
> example, in this case we have varchar data. If the server should be so
> kind as to report varchar(1) for '1' or varchar(3) for '123' then I
> would not have any difficulty binding the data to a grid.
This seems merest fantasy. Reflect on multibyte character sets for a
bit --- even if it's known that the column is varchar(3) there is no
guarantee that the value will fit in 3 bytes.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера