PostgreSQL – List Column Names


to get list of columns on certain table use this command:

select column_name, data_type  from INFORMATION_SCHEMA.COLUMNS where table_name = ‘table’;

Advertisements