From b2687b7e70624b39bd6ef3d38bbb39ebf59a900f Mon Sep 17 00:00:00 2001 From: Lijun Wang <83639177+lijunwangs@users.noreply.github.com> Date: Thu, 6 Jan 2022 16:48:12 -0800 Subject: [PATCH] Added TooManyAccountLocks to the PostgreSQL enum types (#22348) Checked w/o waiting for the CI result as currently CI is not validating Postgres changes. Manually verified it fixed the issue --- accountsdb-plugin-postgres/scripts/create_schema.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/accountsdb-plugin-postgres/scripts/create_schema.sql b/accountsdb-plugin-postgres/scripts/create_schema.sql index 994a2176cf..5385663c47 100644 --- a/accountsdb-plugin-postgres/scripts/create_schema.sql +++ b/accountsdb-plugin-postgres/scripts/create_schema.sql @@ -48,7 +48,8 @@ Create TYPE "TransactionErrorCode" AS ENUM ( 'WouldExceedMaxBlockCostLimit', 'UnsupportedVersion', 'InvalidWritableAccount', - 'WouldExceedMaxAccountDataCostLimit' + 'WouldExceedMaxAccountDataCostLimit', + 'TooManyAccountLocks' ); CREATE TYPE "TransactionError" AS (