Accountsdb plugin postgres improvement (#21034)

Summary of Changes

Added the reference postgresql.conf
Prepare slot update statement to reduce overhead in updating slot
Support custom connection string
Allow the plugin to panic on replication issues to ensure consistency
This commit is contained in:
Lijun Wang
2021-10-30 20:18:11 -07:00
committed by GitHub
parent 7409d9d268
commit 696501500f
4 changed files with 968 additions and 50 deletions

View File

@@ -2,7 +2,7 @@
* Script for cleaning up the schema for PostgreSQL used for the AccountsDb plugin.
*/
DROP TRIGGER account_update_trigger;
DROP TRIGGER account_update_trigger ON account;
DROP FUNCTION audit_account_update;
DROP TABLE account_audit;
DROP TABLE account;