only build the table once
only compute the key once
deliver messages to pg mailboxes