title: Difference between copy and \copy commands in postgresql
body: <p>To transfer data between a file and a table in postgresql there are two options </p>
  
  <pre><code>COPY my_table FROM '/Users/user/Downloads/test.csv' DELIMITER ',' CSV HEADER;
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>\COPY my_table FROM '/Users/user/Downloads/test.csv' DELIMITER ',' CSV HEADER;
  </code></pre>
  
  <p>My question is what is the difference between the two and which one is faster?</p>