| От | Andrew Snow |
|---|---|
| Тема | RE: Storing images in PG? |
| Дата | |
| Msg-id | 000601c1266d$a751c810$fa01b5ca@avon обсуждение исходный текст |
| Ответ на | Re: Storing images in PG? ("Joe Conway" <joseph.conway@home.com>) |
| Ответы |
Re: Storing images in PG?
|
| Список | pgsql-general |
> I have found (and confirmed by studying the PostgreSQL > source) that to reliably insert arbitrary binary data into a > bytea column there are only 3 characters which need to be > escaped: \000, \047 ( ' ), \134 ( \ ). Here's the PHP > function that I've been using: Postgresl, in treating things as strings, handles \000 as NULL as an end of string. select 'abc\000def' as hehehe; hehehe -------- abc (1 row) How do you get the data back from a query, with all the nulls in it? - Andrew
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера