moltar/CGI--Uploader — comment on commit 104b82bdd231c9b4f4dea6d81dd17df8d31f6cc6
File:  line 0
By moltar:

Here is how the table is created: http://pastebin.com/QABZKxaa
The main difference I see is how the sequence is defined. In your test script it just says "CREATE SEQUENCE upload_id_seq;", when my app defines every value. Not sure if they are default or not, but something to consider. I am quite a noob when it comes to Pg.

Looking thru the test cases, and I can't even find where you test it via Pg?