Last modified: 2012-08-04 20:48:49 UTC
Created attachment 7952 [details]
This makes it work for me (based on lqt.sql changes) and adds a lqt-drop.sql script for easy dropping of all the created tables and sequences.
The SQL script for creating the tables for pgsql seems outdated causing sql errors when loading a discussion page because of a missing column, bad column constraints and incorrect sequence names.
Adding "need-review" keyword to indicate patch awaits review.
Thanks for your contribution, and I'm really sorry that it's taken me this long to find your patch.
I've applied your patch in r111191, and this bug is now FIXED.