samedi 29 novembre 2014

Dump all binary columns from a table as files


I have a table in a postgresql database with a column of type bytea. I want to drop each binary entry as a file using the id as filename.


What would a SQL query look like for this?





Aucun commentaire:

Enregistrer un commentaire