ProvSQL C/C++ API
Adding support for provenance and uncertainty management to PostgreSQL databases
Loading...
Searching...
No Matches
provsql_config.h File Reference

Build-configuration switches shared across the C and C++ sources. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

Build-configuration switches shared across the C and C++ sources.

PROVSQL_INPROCESS_STORE selects the single-process circuit store: the background worker, the shared-memory segment, the LWLock, and the inter-process pipes are replaced by an in-memory request/response FIFO and a synchronous in-process dispatch. It is the configuration used for the browser/WASM target (where there is exactly one PostgreSQL process and no background workers), and can also be forced on a native build for testing the in-process path:

make CPPFLAGS=-DPROVSQL_INPROCESS_STORE

Definition in file provsql_config.h.