Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将图像存储在 bytea 字段的 postgresql 9.1 数据库表中。我想做一个查询以按大小对它们进行排序并显示它们的大小。我需要这个,因为有一些大图像会导致延迟问题。
select length(the_image_column) as the_size from t order by 1 desc