Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Handle simultaneous inserts of addresses by concurrent sessions.
Use a retry strategy with a plpgsql exception handler for PK violations, or the INSERT... ON CONFLICT.. construct with postgres 9.5 and newer.
- Loading branch information
1 parent
7af8017
commit 76a860ed53fa713a3f75d781c7faacf34277b91a
Showing
1 changed file
with
65 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters