Count number of columns in tableSuggest EditsPL/pgSQLselect count(column_name) from information_schema.columns where table_name='foo'; Copy Page