I've been learning Postgres and SQL on the job for the first time over the last six months - I can confirm I've learnt all of these the hard way!
I'd also recommend reading up on the awesome pg statistics tables, and leverage them to benchmark your things like index performance and macro call speeds.
I'd also recommend reading up on the awesome pg statistics tables, and leverage them to benchmark your things like index performance and macro call speeds.