cmake libpq examples

jmzkChain/jmzk plugins/history_plugin/CMakeLists.txt :7

find_package(libpq REQUIRED)