"Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
> You could cast to text and use octet_length().
Or perhaps you're looking for pg_column_size().
http://www.postgresql.org/docs/9.0/interactive/functions-admin.html#FUNCTIONS-ADMIN-DBSIZE
-Kevin