{"repo":"cppgres/cppgres","free":true,"listed":false,"github":"https://github.com/cppgres/cppgres","clone":"git clone https://github.com/cppgres/cppgres.git","description":"Postgres extensions in C++","language":"C++","stars":17,"topics":["extensions","postgres","postgresql"],"license":"PostgreSQL","category":"databases-storage","readme_excerpt":"Cppgres: Postgres extensions in C++ Cppgres allows you to build Postgres extensions using C++: a high-performance, feature-rich language already supported by the same compiler toolchains used to develop for Postgres, like GCC and Clang. Features Header-only library Compile and runtime safety checks Automatic type mapping Ergonomic executor API Modern C++20 interface & implementation Direct integration with C Building You don't really need to build this library as it is headers-only. You can, however, use cppgres target from the included CMake file. Amalgamation If copying the entire src directory is not convenient, it is quite easy to get an amalgamated single-file header. For example, using cpp-amalgamate: This file can be used just as before: Running tests If you want to run tests on a specific version (or major version) of Postgres, specify the PGVER variable: By default, our build process will set up its own copy of Postgres. If you'd like to use your own build, specify the PG CONFIG variable:","default_branch":null,"files":null,"tree":[],"storefront":"/r/cppgres","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cppgres/cppgres/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}