Added some usefull stuff for psql