On 1/17/2017 9:41 PM, Neslisah Demirci
wrote:
that reason code doesn't sound like anything PostgreSQL generates. SQLSTATE 40001 is "serialization_failure", but all that stuff about 'identification as a pivot' ? that must be your ORM. Many ORM's are very broken if you try and do anything outside the ORM designer's way of thinking. was this insert done inside a transaction? was it the first thing done in this transaction? when you got the error, did you rollback the transaction and retry? once you've gotten an error in a transaction, no further queries can be done until you rollback the transaction and start a new one.
-- john r pierce, recycling bits in santa cruz |