krepver/libpqxx

Project ID: 25684

Description

Building latest libpqxx

Installation Instructions

Install

sudo dnf copr enable krepver/libpqxx sudo dnf update --refresh sudo dnf install libpqxx

Optional

sudo dnf install libpqxx-devel

Usage

main.cpp

#include <iostream> #include <pqxx/pqxx> using namespace pqxx; int main() { connection conn; nontransaction query(conn); auto res = query.exec("SELECT 1"); std::cout << res.size() << std::endl; return 0; }

CMakeLists.txt

cmake_minimum_required(VERSION 3.14) project(testpqxx) set(CMAKE_CXX_STANDARD 17) find_package(libpqxx 6.4 REQUIRED COMPONENTS pqxx) add_executable(testpqxx main.cpp) target_link_libraries(testpqxx PRIVATE libpqxx::pqxx_shared)

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Fedora 39 x86_64 (9)* Fedora 39 (12 downloads)
Fedora 40 x86_64 (1)* Fedora 40 (15 downloads)
Fedora 41 x86_64 (0)* Fedora 41 (3 downloads)
Fedora rawhide x86_64 (35)* Fedora rawhide (75 downloads)

* Total number of downloaded packages.