[go: up one dir, main page]

Today I Learned

tags


2022/05/04

Not to use BETWEEN for timestamps Not to use char(n), or varchar(n), since they’re not natively fixed-width and will defy expectations. See https://wiki.postgresql.org/wiki/Don't_Do_This

Also, I learned that you can’t run chsh(1) with sudo; chsh needs to run as the user who’s changing their shell.