Postgres obtenha nomes de colunas

SELECT *
  FROM information_schema.columns
 WHERE table_name   = 'your_table'
     ;
Ninja Pinguin