added psqlrc for sql queries