Re: storing PDFs

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: storing PDFs
Дата
Msg-id 87hd8ndiou.fsf@asmodeus.mcnaught.org
обсуждение исходный текст
Ответ на Re: storing PDFs  (Leonel Nunez <lnunez@enelserver.com>)
Ответы Re: storing PDFs  (Leonel Nunez <lnunez@enelserver.com>)
Список pgsql-general
Leonel Nunez <lnunez@enelserver.com> writes:

> You can   use ByteA   but the size will be  about 4 times bigger

Are you sure?  The intermediate form for bytea (escaped single-quoted
strings) is pretty inefficient, but once in the database the data is
stored as binary and can even be compressed.

Plus, I'm pretty sure the protocol supports transmitting bytea fields
as binary over the wire if your client software can handle it.

-Doug

В списке pgsql-general по дате отправления:

Предыдущее
От: Leonel Nunez
Дата:
Сообщение: Re: storing PDFs
Следующее
От: Leonel Nunez
Дата:
Сообщение: Re: storing PDFs