One decoded mintfx emit_cpi! event, projected out of
solana_transaction.parsed_events.
The array on solana_transaction remains the source of truth; this is that
array expanded once, with the fields a read actually filters on as columns.
Reading the events out of the jsonb meant a CROSS JOIN LATERAL … WITH ORDINALITY and a destructure per event per query, none of which an index can
serve — an index covers rows of a table, and an array element is not one.
Rebuildable: drop every row and re-expand parsed_events and you have it
back. Nothing here is knowledge the column does not already hold.
One decoded mintfx
emit_cpi!event, projected out ofsolana_transaction.parsed_events.The array on
solana_transactionremains the source of truth; this is that array expanded once, with the fields a read actually filters on as columns. Reading the events out of the jsonb meant aCROSS JOIN LATERAL … WITH ORDINALITYand a destructure per event per query, none of which an index can serve — an index covers rows of a table, and an array element is not one.Rebuildable: drop every row and re-expand
parsed_eventsand you have it back. Nothing here is knowledge the column does not already hold.