select column_name from information_schema.columns where table_name='my_table_name'
see also:
How to get column names from Sql Server table
How to get column names from DB2 table
How to get column names from Oracle table
How to get column names from Mysql table
How to get column names from SQLite table
Some PostgreSQL tools you can try: https://www.withdata.com/postgresql/
Convert your data online, free
Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.