irbrc and logging for postgres