PSQL Obtenha tipos de dados da tabela
SELECT
column_name,
data_type
FROM
information_schema.columns
WHERE
table_name = 'table_name';
RicarHincapie
SELECT
column_name,
data_type
FROM
information_schema.columns
WHERE
table_name = 'table_name';