We don't really need tags sorted by key, and it might make more efficient use of...
authorMatt Amos <zerebubuth@gmail.com>
Fri, 26 Apr 2013 11:43:22 +0000 (12:43 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 25 May 2013 14:18:47 +0000 (15:18 +0100)
planet06_pg.cpp

index 6bb08ff..a0aff8f 100644 (file)
@@ -174,7 +174,7 @@ private:
 
   string query(const char *table, const char *type) {
     ostringstream ostr;
-    ostr << "select " << type << "_id, k, v from " << table << " order by " << type << "_id, k";
+    ostr << "select " << type << "_id, k, v from " << table << " order by " << type << "_id";
     return ostr.str();
   }
 };