Use bulk insertion to Postgres at startup to reduce time taken for initial snapshot restore for postgres plugin. Avoid duplicate writes of accounts at startup. Doing account plugin notification and indexing in parallel. Improved error handling for postgres plugin to show the real db issues for debug purpose Added more metrics for postgres plugin. Refactored plugin centric code out to a sub module from accounts_db and added unit tests |
||
---|---|---|
.. | ||
scripts | ||
src | ||
Cargo.toml | ||
README.md |
README.md
This is an example implementing the AccountsDb plugin for PostgreSQL database.
Please see the src/accountsdb_plugin_postgres.rs
for the format of the plugin's configuration file.
To create the schema objects for the database, please use scripts/create_schema.sql
.
scripts/drop_schema.sql
can be used to tear down the schema objects.