yesodweb / yesod-scaffold

The Yesod scaffolding, with branches for different versions.
MIT License
76 stars 39 forks source link

Warn that TRUNCATEing many tables with Postgres can become slow #202

Closed MaxGabriel closed 4 years ago

MaxGabriel commented 4 years ago

I think the vast, vast majority of yesod-scaffold users will never grow to the size where they need to care about this. But for the handful that do, it should save them a lot of time dredging through stackoverflow and postgres mailing lists about this.

I could have made a wiki page about this and cleaned it all up, but I think it's not really worth it for how much of an edge case this is. To reach this point, you need to be a pretty advanced Yesod user, and reading through #201 should be no problem for you

Closes https://github.com/yesodweb/yesod-scaffold/issues/201