Commit graph

456 commits

Author SHA1 Message Date
Eelke Klein
2432be9d72 Added cpp style mechanisme to queue callables on window thread. 2016-12-30 10:14:26 +01:00
Eelke Klein
8af6bc4ac5 Added explain functionality.
Uses json format with jsoncpp as a parser. Then show it in a QTreeView.
Shows inclusive/exclusive times like explain.despesz does. Also a similar
coloring scheme as applied.
2016-12-29 13:48:35 +01:00
Eelke Klein
0d30dc9080 Query is now executed using std::async 2016-12-27 21:22:49 +01:00
Eelke Klein
3a8cc3d7f0 Het maken van de DB connectie gebeurd nu asynchroon. 2016-12-27 15:41:11 +01:00
Eelke Klein
27abce5a11 Added WSAStartup/Cleanup to main.
This is something libpq also does when opening and closing connections.
This mechanism uses a use count and based on that count dll's are loaded
and unloaded. By adding those calls to main we make sure the use count
stays above zero for the whole duration of the program.
2016-12-27 10:27:44 +01:00
Eelke Klein
edc6df25da Initial commit. Contains a simple query tool. 2016-12-26 16:06:55 +01:00