| От | Doug McNaught |
|---|---|
| Тема | Re: uploading files |
| Дата | |
| Msg-id | 87llqdqy37.fsf@asmodeus.mcnaught.org обсуждение исходный текст |
| Ответ на | Point-in-time data recovery - v.7.4 (Rafael Martinez Guerrero <r.m.guerrero@usit.uio.no>) |
| Ответы |
Re: uploading files
|
| Список | pgsql-general |
"Rick Gigger" <rick@alpinenetworking.com> writes: > What is the best method for storing files in postgres? Is it better to use > the large object functions or to just encode the data and store it in a > regular text or data field? Depends on whether you need "random access" to the contents. You can lo_seek() inside a large object and retrieve parts of the data with lo_read(), while 'text' and 'bytea' currently require fetching the whole field. -Doug
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера