擅长:python、mysql、java
<p>我在读<a href="https://groups.google.com/forum/#!topic/sqlalchemy/WoywAt3W2Lo" rel="nofollow noreferrer">this</a>。
在使用并行处理创建/更新同一个表时,似乎会出现此错误。我理解这取决于<a href="https://www.postgresql.org/message-id/CA+TgmoZAdYVtwBfp1FL2sMZbiHCWT4UPrzRLNnX1Nb30Ku3-gg@mail.gmail.com" rel="nofollow noreferrer">this</a>(正如google小组讨论中解释的那样)。在</p>
<p>所以我认为它依赖于<code>PostgreSQL</code>本身,而不是连接驱动程序或用于多处理的模块。在</p>
<p>好吧,事实上,我发现解决这个问题的唯一方法是创建足够大的块,以使编写过程比计算本身慢。
对于较大的块,这个错误不会增加。在</p>