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/