more psqlrc enhancements