Index MQ to postgres