title: Postgres table column name restrictions?
body: <p>I did this in psql:</p>
  
  <pre><code>CREATE TABLE IF NOT EXISTS apiss (skey TEXT, time INTEGER, user TEXT, ip TEXT);
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>ERROR:  syntax error at or near "user" LINE 1: ...BLE IF NOT EXISTS apiss (skey TEXT, time INTEGER, user TEXT,...
  </code></pre>
  
  <p>I do:</p>
  
  <pre><code>CREATE TABLE IF NOT EXISTS apiss (skey TEXT, time INTEGER, userd TEXT, ip TEXT);
  </code></pre>
  
  <p>It works.<br>
  Note the userd instead of user.</p>
  
  <p>Are there some restrictions on the column names that a table can have? 
  (postgresql v9.1.3)</p>