News for hackers. Stuff that matters.
Re:What I Wish Someone Told Me About Postgres by CoastalCoder on Tuesday November 12, 2024 @10:03AM (#42115972)
I think the "color is all we need" idea makes sense in proportion to how many of our tools actually support colorization.

E.g., the last time I used the psql program, I don't think it had colorization of the SQL, despite running in a color-capable terminal emulator.

It probably doesn't help that terminal colors are a bit of mess. E.g., piping colored output through 'less' can result in some messy control-character rendering rather than having the desired effect.

Re:What I Wish Someone Told Me About Postgres by dllthomas on Tuesday November 12, 2024 @11:02AM (#42116641)
> piping colored output through 'less' can result in some messy control-character rendering rather than having the desired effect.

It can, but -G or -R can fix that.

Re:What I Wish Someone Told Me About Postgres by mixmastamyk on Tuesday November 12, 2024 @11:44AM (#42117114)
Try pgcli for color and completion.
Re:What I Wish Someone Told Me About Postgres by renewiltord on Tuesday November 12, 2024 @12:51PM (#42117840)
Good tip, thank you.