* Handle PK violation issue for transaction notification. The transaction might be replayed due to validator restart. (cherry picked from commit d6de4a2f4ecbbf0bc42369d638dc235b925b0759) Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com>
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.