some psqlrc improvements