Is it possible that information_schema.columns doesn't hold an user table column information?

dba.stackexchange https://dba.stackexchange.com/questions/253149

문제

I am facing a strange issue here. I have a table which is not visible in information_schema.columns view. What could be the reason for that.

Note: I am using RDS Aurora Postgresql 9.6.12

도움이 되었습니까?

해결책

You will only see entries for a table in the information_schema views if you have permissions on the table in question.

You can get column metadata for tables where you have no access from pg_attribute, but you have to deal with PostgreSQL's internal data structures that may change between versions.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 dba.stackexchange
scroll top