| От | Koen Vermeer |
|---|---|
| Тема | Re: Storing images as BYTEA or large objects |
| Дата | |
| Msg-id | 1202932429.3528.68.camel@localhost обсуждение исходный текст |
| Ответ на | Re: Storing images as BYTEA or large objects (Alvaro Herrera <alvherre@commandprompt.com>) |
| Ответы |
Re: Storing images as BYTEA or large objects
|
| Список | pgsql-general |
Op woensdag 13-02-2008 om 10:45 uur [tijdzone -0300], schreef Alvaro Herrera: > > Instead of base64 encoding, I guess it would be easier to just escape > > the required bytes and store them in a bytea. > Actually, if you have access to the pqExecParams() call, you can pass > the bytes to a bytea column unescaped, which AFAIK saves some processing > on both the client and server. > To get the bytes back unescaped, I think you could use a binary cursor. I'll check to see what the options are for reading in the data in PHP. Thanks for the help! Best, Koen
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера