this post was submitted on 06 Nov 2023
1309 points (98.7% liked)

Programmer Humor

32050 readers
1418 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 16 points 10 months ago* (last edited 10 months ago) (1 children)

This makes it safer but like... don't run queries on production outside emergencies ever.

That transaction frame, depending on your specific DB, may cause severe performance side effects.

Look, the safe approach is to write it into something, PR it, get it reviewed, and then run it as part of a structured deployment process.

[โ€“] [email protected] 2 points 10 months ago

Absolutely. It should have been tested and verified.