0

I want to get meta information of a view in postgres. Specifically the column data types. Any suggestion for how to do that?

1 Answer 1

0
SELECT column_name, data_type
FROM information_schema.columns
WHERE table_name = 'my_view';

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.