List all columns for a specified table
In addition to the command line \d+ &lt;table_name&gt; you already found, you could also use the Information Schema to look up the column data, using information_schema.columns:

SELECT *
  FROM information_schema.columns
 WHERE table_schema = 'your_schema'
   AND table_name   = 'your_table'
     ;


Note: As per the example above, make sure the values are enclosed within quotes.