Record queries on debug cursors
Throw an error if someone tries multi-table inheritance (for now... might be able to hack something together for that)
Fix an error in the way we were deleting things
Truncate long keys on insert