| От | Joe Conway |
|---|---|
| Тема | Re: store in bytea |
| Дата | |
| Msg-id | 00ea01c12cdd$c34c5a00$b4d210ac@jecw2k1 обсуждение исходный текст |
| Ответ на | store in bytea ("Ben-Nes Michael" <miki@canaan.co.il>) |
| Список | pgsql-general |
> But Ill have to add double slashes and even more importent I will have to > unescape every binary data going out of the server, which mean in one of my > aplication all the Images. > > Wont this action be much more heavey then the way I used untill now with > MySQL (blob) ? > addslash on insert and ordinary select for output. Not sure about performance (would be nice if you tried this and reported back results of MySQL vs PostgreSQL), but last night I found a built-in PHP function that looks like it would work to convert the escaped binary back to binary -- see http://www.php.net/manual/en/function.stripcslashes.php -- Joe
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера