5 ms·
So how do people handle this in practice if the users table in this example has a ton of traffic? It might not ever succeed even with exponential backoff. It al
by modestygrime 2y ago
So how do people handle this in practice if the users table in this example has a ton of traffic? It might not ever succeed even with exponential backoff. It also seems strange that Postgres would need to lock the entire table just to add a new column.
- klysm 2y agoSet a short timeout on lock acquisition, eventually it will get through or you have to tolerate a larger timeout