New utility to import mail into PostgreSQL.

Minor leak cleanup in mailhash.
This commit is contained in:
2014-03-18 23:01:15 -07:00
parent f7c0774798
commit bb8f546fd0
3 changed files with 165 additions and 2 deletions

7
pq/init.sql Normal file
View File

@@ -0,0 +1,7 @@
DROP TABLE original;
CREATE TABLE original (
hash char(40) PRIMARY KEY,
header_size integer,
total_size integer,
blob bytea
)