Re: Ynt:[GENERAL] postgresql : could not serialize access due to read/write dependencies among transactions

2017-01-18 Thread Alvaro Herrera
Neslisah Demirci wrote: > First I started conversation between two person ; > > > sql: 'INSERT INTO "X" > ("id","customer","createdAt","updatedAt","CompanyId") VALUES > (DEFAULT,\'905322653555\',\'2017-01-17 19:13:37.751 +00:00\',\'2017-01-17 > 19:13:37.751 +00:00\',\'1\') RETURNING *;' }

Re: Ynt:[GENERAL] postgresql : could not serialize access due to read/write dependencies among transactions

2017-01-17 Thread Christoph Moench-Tegeder
## John R Pierce (pie...@hogranch.com): > 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. That's PostgreSQL: https://wiki.postgresql.org/wiki/SSI Reg

Re: Ynt:[GENERAL] postgresql : could not serialize access due to read/write dependencies among transactions

2017-01-17 Thread John R Pierce
On 1/17/2017 9:41 PM, Neslisah Demirci wrote: First I started conversation between two person ; sql: 'INSERT INTO "X" ("id","customer","createdAt","updatedAt","CompanyId") VALUES (DEFAULT,\'905322653555\',\'2017-01-17 19:13:37.751 +00:00\',\'2017-01-17 19:13:37.751 +00:00\',\'1\') RETU

Ynt:[GENERAL] postgresql : could not serialize access due to read/write dependencies among transactions

2017-01-17 Thread Neslisah Demirci
Gönderen: Neslisah Demirci Gönderildi: 18 Ocak 2017 Çarşamba 08:36 Kime: John R Pierce Konu: Ynt: [GENERAL] postgresql : could not serialize access due to read/write dependencies among transactions We use ORM sequelize.js . My transactions are here ; First I