sqlalchemy-bot
sqlalchemy-bot
**Aurélien Campéas ([@auc](https://github.com/auc)) wrote:** I agree, I hadn't read carefully enough. Now I see evidence that on the second creation, at least one index is created *twice*.
**Aurélien Campéas ([@auc](https://github.com/auc)) wrote:** What does that mean *you* are making SA create the index twice ? I certainly don't do anything like that explicitly. The same table object is...
**Aurélien Campéas ([@auc](https://github.com/auc)) wrote:** That might be an interesting side-effect of `extend_existing` :/
**Aurélien Campéas ([@auc](https://github.com/auc)) wrote:** Switching to `keep_existing` fixes the issue. Looks like I had overlooked that bit. That's what I _really_ needed in the first place.
**Michael Bayer ([@zzzeek](https://github.com/zzzeek)) wrote:** note in #3989 we don't truncate naming conventions for things other than indexes.
**Changes by Aurélien Campéas ([@auc](https://github.com/auc)):** * edited description
**Changes by Aurélien Campéas ([@auc](https://github.com/auc)):** * edited description
**Changes by Michael Bayer ([@zzzeek](https://github.com/zzzeek)):** * removed labels: **bug** * added labels: **feature**
**Changes by Michael Bayer ([@zzzeek](https://github.com/zzzeek)):** * changed **title** from "automatic index name: hash collision" to "support None for Postgresql index name"
**Changes by Michael Bayer ([@zzzeek](https://github.com/zzzeek)):** * added labels: **postgres**