title: "use database_name" command in PostgreSQL
body: <p>I am beginner to PostgreSQL.</p>
  
  <p>I want to connect to another database from the query editor of Postgres - like the <code>USE</code> command of MySQL or MS SQL Server. </p>
  
  <p>I found <code>\c databasename</code> by searching the Internet, but its runs only on <a href="http://www.postgresql.org/docs/current/interactive/app-psql.html" rel="noreferrer">psql</a>. When I try it from the PostgreSQL query editor I get a syntax error.</p>
  
  <p>I have to change the database by pgscripting. Does anyone know how to do it?</p>