pgapi-no-in-memory-network
IN premise
`PgApi` executes all operations as direct SQL against PostgreSQL — no in-memory `Network` object is ever constructed, enabling concurrent writers
Summary
All reasoning operations go straight to the database rather than loading the belief network into memory first. This means multiple processes can safely read and write beliefs at the same time without worrying about stale or conflicting in-memory state.
Dependents
These beliefs depend on this one:
- pgapi-is-sql-native-multi-tenant — PgApi operates as a SQL-native multi-tenant implementation: all operations execute directly against PostgreSQL with no in-memory Network object constructed, composite primary keys on all tables provide project-level isolation, and each public method is a single committed transaction.
Details
| Source | entries/2026/04/28/reasons_lib-pg.md |