title: Postgresql: syntax error at or near "user"
body: <p>This is probably a simple question, but I've spent an embarrassing amount of time trying to figure out what's wrong.</p>
  
  <p>I'm trying to run a query on a table "user" containing two columns username and id.</p>
  
  <pre><code>INSERT INTO user
     (username, id) 
  VALUES
     ("user", 2)
  </code></pre>
  
  <p>I end up getting this error.</p>
  
  <pre><code>ERROR:  syntax error at or near "user"
  LINE 1: INSERT INTO user
                      ^
  ********** Error **********
  
  ERROR: syntax error at or near "user"
  SQL state: 42601
  Character: 13
  </code></pre>
  
  <p>Here is the table creation for reference</p>
  
  <pre><code>-- Table: public."user"
  
  -- DROP TABLE public."user";
  
  CREATE TABLE public."user"
  (
      id integer NOT NULL,
      username text COLLATE pg_catalog."default",
      CONSTRAINT user_pkey PRIMARY KEY (id)
  )
  WITH (
      OIDS = FALSE
  )
  TABLESPACE pg_default;
  
  ALTER TABLE public."user"
      OWNER to postgres;
  </code></pre>