Hacker News new | ask | show | jobs
by yangyang 3266 days ago
This is cool. Always worth spending some time setting up psql.

In my psqlrc I also have a bunch of "macros" (unfortunately no parameters in psql) for common stuff like transaction handling and SET ROLE / RESET ROLE, lock monitoring etc.: https://github.com/hollobon/psqlrc/blob/master/psqlrc.conf Some of it only works on <=9.4.