Adjusted to new version of libpqxx.