Create pgsql8 ExtractionTest for testing issues with pgsql8 extraction
Do pgsql8 queries via the -c flag instead of stdin
Clean up ExtractionTest logic and improve debuggability
Teach pgsql8 to extract index dimensions regardless of whether they are columns or expressions