Estructura de la tabla de lectura de Postgres
SELECT column_name, data_type, character_maximum_length
FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name ='table_name';
KostasX