Patch includes the sql and a pgtap test. I considered checking for the record already existing and not replacing it but on reading related lp1485695 I realized that some people may want that number of occurrences so with it not clear what the desired behavior would be this will allow duplicates.
patch: eded258f532dc9d 24d4604f7eedfd3 3a27e8f00a lp1731960_ replace_ bookbags_ in_merge
user/rogan/
Patch includes the sql and a pgtap test. I considered checking for the record already existing and not replacing it but on reading related lp1485695 I realized that some people may want that number of occurrences so with it not clear what the desired behavior would be this will allow duplicates.