{"id":26562605,"url":"https://github.com/cppgres/cppgres","last_synced_at":"2025-09-12T21:23:14.007Z","repository":{"id":279158507,"uuid":"937886814","full_name":"cppgres/cppgres","owner":"cppgres","description":"Postgres extensions in C++","archived":false,"fork":false,"pushed_at":"2025-09-12T13:30:53.000Z","size":8309,"stargazers_count":15,"open_issues_count":6,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-12T15:58:45.172Z","etag":null,"topics":["extensions","postgres","postgresql"],"latest_commit_sha":null,"homepage":"https://cppgres.org/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"postgresql","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cppgres.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-24T04:24:06.000Z","updated_at":"2025-09-12T13:28:49.000Z","dependencies_parsed_at":"2025-04-03T05:18:49.676Z","dependency_job_id":"dea9afa4-0782-4c29-ac3d-c301cd360d4f","html_url":"https://github.com/cppgres/cppgres","commit_stats":null,"previous_names":["cppgres/cppgres"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cppgres/cppgres","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppgres%2Fcppgres","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppgres%2Fcppgres/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppgres%2Fcppgres/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppgres%2Fcppgres/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cppgres","download_url":"https://codeload.github.com/cppgres/cppgres/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cppgres%2Fcppgres/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274879263,"owners_count":25367095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["extensions","postgres","postgresql"],"created_at":"2025-03-22T15:18:18.107Z","updated_at":"2025-09-12T21:23:13.977Z","avatar_url":"https://github.com/cppgres.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cppgres: Postgres extensions in C++\n \nCppgres allows you to build Postgres extensions using C++: a high-performance, feature-rich\nlanguage already supported by the same compiler toolchains used to develop for Postgres,\nlike GCC and Clang.\n\n## Features\n\n* Header-only library\n* Compile and runtime safety checks\n* Automatic type mapping\n* Ergonomic executor API\n* Modern C++20 interface \u0026 implementation\n* Direct integration with C\n\n## Building\n\nYou don't really need to build this library as it is headers-only. You can,\nhowever, use `cppgres` target from the included CMake file.\n\n### Amalgamation\n\nIf copying the entire `src` directory is not convenient, it is quite easy to\nget an amalgamated single-file header.\n\nFor example, using [cpp-amalgamate](https://github.com/Felerius/cpp-amalgamate):\n\n```shell\ncpp-amalgamate src/cppgres.hpp \u003e cppgres.hpp\n```\n\nThis file can be used just as before:\n\n```c++\n#include \u003ccppgres.h\u003e\n```\n\n## Running tests\n\n```shell\n# prepare\ncmake -S . -B build \n# run tests\nCTEST_OUTPUT_ON_FAILURE=1 cmake --build build --target all test\n```\n\nIf you want to run tests on a specific version (or major version) of Postgres, specify the `PGVER` variable:\n\n```shell\ncmake -S . -B build -DPGVER=16\n```\n\nBy default, our build process will set up its own copy of Postgres. If you'd like to use your own build,\nspecify the `PG_CONFIG` variable:\n\n```shell\ncmake -S . -B build -DPG_CONFIG=/path/to/pg_config\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcppgres%2Fcppgres","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcppgres%2Fcppgres","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcppgres%2Fcppgres/lists"}