An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 7.2% on proxy.golang.org

proxy.golang.org : github.com/messagebird/clickhouse-postgres-fdw

We want to implement CH API functions which should allow us to query Clickhouse(CH). However, Postgres(PG) only have a FDW API in C. This means the CH API functions needs to be callable from the C interface but implemented in GO. Only option is exported Go functions via CGO https://golang.org/cmd/cgo/#hdr-C_references_to_Go PG extension entry point will be defined in `ch_fdw.c`, which implements a handler and a validator. Handler returns a struct of function pointers that are called by PG planner, executor and so forth. These functions are to be implemented in GO. These are marked with `export funcName`.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/messagebird/clickhouse-postgres-fdw
License: MIT
Latest release: 3 months ago
Namespace: github.com/messagebird
Stars: 45 on GitHub
Forks: 5 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 3 months ago