postgres=>\connect databasename
postgres=> \c databasename
For eg: Lets say you are connected to default postgres database and want to connect to database name mydatabase, try below syntaxpostgres=> \c mydatabase or postgres=> \connect mydatabase
mydatabase=>
No comments:
Post a Comment