SELECT schemaname, tablename, tableowner, tablespace,
hasindexes, hasrules, hastriggers
FROM pg_catalog.pg_tables;
- schemaname : 스키마 이름
- tablename : 테이블 이름
- tableowner : 테이블 소유자의 이름
- tablespace : 테이블을 포함하는 테이블스페이스의 이름(default = NULL)
- hasindexes : 테이블 인덱스 여부
- hasrules : 테이블 규칙 여부
- hastriggers : 테이블 트리거 여부