| От | Barry Lind |
|---|---|
| Тема | Re: Bug in 7.4_213 driver: returns VARCHAR instead of |
| Дата | |
| Msg-id | 4109783C.8030806@xythos.com обсуждение исходный текст |
| Ответ на | Re: Bug in 7.4_213 driver: returns VARCHAR instead of (Kris Jurka <books@ejurka.com>) |
| Список | pgsql-jdbc |
Kris Jurka wrote: > I'm not so sure anymore. While text can be used for storing large values > it often isn't. Further returning LONGVARCHAR could be a sign for the > caller to use something like ResultSet.getCharacterStream instead of a > simple getString. I would agree. In our applications we exclusively use text everywhere we use varchar on other databases. I am quite sure that a change like this would break peoples existing apps. I also agree that LONGVARCHAR would imply that you should use the getXXXStream methods which I would say is rarely the correct thing to do. In my opinion text is just a better version of varchar (without many of the limitations imposed on varchar in other database vendor implementations). --Barry
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера