Planning to migrate to PostgreSQL from Oracle.

In Oracle, I can

select utc.table_name,
utc.column_name,
utc.data_type,
utc.NULLABLE,
(SELECT cols.column_name
FROM all_constraints cons, all_cons_columns cols
WHERE cols.table_name = utc.table_name
AND cons.constraint_type = 'P'
AND cons.constraint_name = cols.constraint_name
AND cons.owner = cols.owner and cons.owner = 'MASTER_USER'
)
Primary_Key_Column
from user_tab_columns utc;


What would be the equivalent SQL on Postgres?



Thanks

Eugene