Skip to content
  • Nigel McNie's avatar
    Added a new function, insert_record_if_not_exists. · 14496c8c
    Nigel McNie authored
    This uses the postgres SELECT FOR UPDATE syntax to ensure we don't have a race condition when inserting a record that previously didn't exist. The other database one is a bit more race condition-ey.
    14496c8c