Demo code for http://stackoverflow.com/questions/16763904/how-to-save-a-image-file-on-a-postgres-database

How to load and store an image file (or any other file) in PostgreSQL using
Python and Psycopg2 as bytea.