title: PostgreSQL rename table named with a keyword
body: <p>I have a table named <em>import</em>. </p>
  
  <p>I want to rename the table with the following statement in a sql script below.</p>
  
  <p>Unfortunately I can't, because sql treats the term <em>import</em> as a psql keyword.</p>
  
  <p>How can I change the name in a sql script?</p>
  
  <p>I have a Database change management also called database migration or database upgrading. Database change management is the process of managing the change of a database over the course of an application's lifecycle. What could change in a database? The database structure (i.e. the tables), master data but even indices, triggers and stored procedures could be added, changed or deleted over time.</p>
  
  <pre><code>ALTER TABLE import
  RENAME TO api_exchange; 
  </code></pre>
  
  <p>I am aware I can change the table name with a PostgreSQL client, but I need to do it in a SQL script for postgreSQL 10 in order to keep my Database change management intact.</p>