restore index idx_accounts_map_blocks_slot

This commit is contained in:
GroovieGermanikus 2024-01-12 13:22:18 +01:00
parent abbf805726
commit ecf0b64608
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
1 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,8 @@ CREATE TABLE banking_stage_results_2.accounts_map_transaction_latest(
tx_ids BIGINT[]
);
CREATE INDEX idx_accounts_map_blocks_slot ON banking_stage_results_2.accounts_map_blocks(slot);
CREATE OR REPLACE FUNCTION array_dedup_append(base bigint[], append bigint[], n_limit int)
RETURNS bigint[]
AS $$