| От | Barry Lind |
|---|---|
| Тема | Re: new String(byte[]) performance |
| Дата | |
| Msg-id | 3DB58525.9040703@xythos.com обсуждение исходный текст |
| Ответ на | Re: new String(byte[]) performance (Aaron Mulder <ammulder@alumni.princeton.edu>) |
| Ответы |
Re: new String(byte[]) performance
|
| Список | pgsql-jdbc |
Aaron Mulder wrote: > Barry, > Are you saying that the server returns everything as > strings/characters no matter what? Like if it sends the number "123456" > that will be 7 bytes (6+null), not 4 bytes (an int)? Can we make it send > the 4-byte int value instead? That is correct. The FE/BE protocol sends the data back and forth as strings for all the data types. The only exception to this is if you are using a 'binary cursor' inwhich case the data is sent in binary, (however the byte order is platform dependent, which makes it a pain to use binary cursors). --Barry
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера