'How can I import CSV file with many columns to PostgreSQL?

I have a csv file with 19 columns. How can I import the file to PostgreSQL without first creating a table and writing every column down? Thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source