title: Postgres 10 ERROR: target lists can have at most 1664 entries
body: <p>I'm using postgres10 on Windows.
  In my query,that I copy the result to CSV, I want to have 1700 columns but I got this error:</p>
  
  <blockquote>
    <p>"ERROR:  target lists can have at most 1664 entries SQL state: 54000"</p>
  </blockquote>
  
  <p>Any one have an idea of how to fix it?</p>