On Tue, Jan 25, 2005 at 04:58:33PM -0500, Carlos wrote:
> Is there a way that I can find out the size of a bytea record? I am storing
> images into bytea fields and I just want to know the size of the image that
> it has been saved in the field
See the "Binary String Functions and Operators" section of the
"Functions and Operators" chapter in the documentation:
http://www.postgresql.org/docs/8.0/static/functions-binarystring.html
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера