Postgresql blobs management in Perl/DBI