| От | Oliver Jowett |
|---|---|
| Тема | Re: bytea encoding |
| Дата | |
| Msg-id | 42827EBC.5070707@opencloud.com обсуждение исходный текст |
| Ответ на | bytea encoding (Jesse Eichar <jeichar@refractions.net>) |
| Ответы |
Re: bytea encoding
|
| Список | pgsql-jdbc |
Jesse Eichar wrote: > 1. Is the byte stream (or byte array) converted to bytea on the database > side or on client before sending? (My client is using the > postgresql-74.213.jar). You give the driver a byte[] (setBytes) or InputStream (setBinaryStream); it does the rest. Old drivers such as build 213 will, IIRC, convert this to a text representation internally before sending to the backend; newer drivers will send the data directly without conversion. But this is all transparent to the client. -O
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера