| От | 纪晓曦 |
|---|---|
| Тема | Re: Can I Save images in postgres? |
| Дата | |
| Msg-id | 37a11ce00909082036s5cb072afg95bdd42e73905ef3@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Can I Save images in postgres? (Yaroslav Tykhiy <yar@barnet.com.au>) |
| Список | pgsql-general |
By the way, here's a relatively recent discussion of this issue:On 09/09/2009, at 10:43 AM, John R Pierce wrote:纪晓曦 wrote:Can I save images in the postgres? How to define? Does the format matters? Can I save JPG/PNG?How?
you can save images as BYTEA data, and the format is totally up to your application, as postgres just treats it as a block of bytes. however, I generally find it easier to store my images on a file system, and just put the file path in the database.
http://archives.postgresql.org/pgsql-general/2009-06/msg00599.php
Yar
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера