com.vaelii/postgres

Postgres targets for vaelii's storage seams, in two independent lanes. The record store (vaelii.postgres.record-store) puts a KB's durable ground truth in a database — core selects it as :pg-memory or :pg-disk — with COPY on the bulk path, a fetch LRU in front of a round-trip point read, and cursor-streamed enumerations. The snapshot sink (vaelii.postgres.snapshot) is a SnapshotSink / SnapshotSource, so a KB image — the index projection today, any of io.snapshot's named sections — lands in a database as a few bulk transactions and reads back the same way. An Apache-2.0 adapter on the SSPL engine, depending on core, never depended on by it.

Leiningen/Boot

[com.vaelii/postgres "0.12.0"]

Clojure CLI/deps.edn

com.vaelii/postgres {:mvn/version "0.12.0"}

Gradle

implementation("com.vaelii:postgres:0.12.0")

Maven

<dependency>
  <groupId>com.vaelii</groupId>
  <artifactId>postgres</artifactId>
  <version>0.12.0</version>
</dependency>