Parametrize everything in receiver_raw

Parameters for the database used for local and remote connection,
connection string and slot name are used.