List column names in postgreSQL

To list column names of a table, simply type

select column_name
from information_schema.columns
where table_name = 'YOUR TABLE NAME'