psql connect to database \c datbase name; Related Posts exit psql terminal Backup and restore postgresql database Create database with specific owner in psql Find the size of postgresql database Run psql file from terminal postgresql schema for access control list