From e0d96ee6007f0f96ff961af9afd59c3378994526 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 28 Feb 2019 11:50:03 +0100 Subject: [PATCH] IDEMPIERE-3850 AP2-4 1008281 Performance improvement: implement reporting from read-only replica (from TrekGlobal) --- migration/i6.2/oracle/201902281146_IDEMPIERE-3850.sql | 5 +++++ .../i6.2/postgresql/201902281146_IDEMPIERE-3850.sql | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 migration/i6.2/oracle/201902281146_IDEMPIERE-3850.sql create mode 100644 migration/i6.2/postgresql/201902281146_IDEMPIERE-3850.sql diff --git a/migration/i6.2/oracle/201902281146_IDEMPIERE-3850.sql b/migration/i6.2/oracle/201902281146_IDEMPIERE-3850.sql new file mode 100644 index 0000000000..2214b7146c --- /dev/null +++ b/migration/i6.2/oracle/201902281146_IDEMPIERE-3850.sql @@ -0,0 +1,5 @@ +-- IDEMPIERE-3850 AP2-4 1008281 - not required for oracle + +SELECT register_migration_script('201902281146_IDEMPIERE-3850.sql') FROM dual +; + diff --git a/migration/i6.2/postgresql/201902281146_IDEMPIERE-3850.sql b/migration/i6.2/postgresql/201902281146_IDEMPIERE-3850.sql new file mode 100644 index 0000000000..d56d026927 --- /dev/null +++ b/migration/i6.2/postgresql/201902281146_IDEMPIERE-3850.sql @@ -0,0 +1,9 @@ +-- IDEMPIERE-3850 AP2-4 1008281 - Implement reporting from read-only replica + +CREATE OR REPLACE RULE insert_dbreplicasyncverifier AS ON INSERT TO dbreplicasyncverifier DO INSTEAD NOTHING; + +CREATE OR REPLACE RULE delete_dbreplicasyncverifier AS ON DELETE TO dbreplicasyncverifier DO INSTEAD NOTHING; + +SELECT register_migration_script('201902281146_IDEMPIERE-3850.sql') FROM dual +; +