An example repository using XTDB with PostgreSQL as transaction log and document store.
JDBC transaction logs and document stores depend on a 'connection pool' component - if you use both, they can share the same connection pool.
https://v1-docs.xtdb.com/storage/jdbc/
The development environment used Docker and docker-compose
Start the system
docker-compose up -d
After startup you'll have a running nREPL server running on localhost:47480
. Connect to it (e.g.,
cider-connect
) and load the xtdb-pg-sample.core
namespace.
Copyright (C) Iván Perdomo
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.