pg_catalog.pg_tables1 PostgreSQL 스키마, 테이블 정보 조회 #-- PostgreSQL 스키마, 테이블 정보 조회 SELECT * FROM pg_catalog.pg_tables; SELECT * FROM pg_catalog.pg_tables WHERE tableowner IN ('aaa','bbb')ORDER BY tableowner, tablename; schemaname 스키마의 이름 tablename 테이블 이름 tableowner 테이블 소유자의 이름 tablespace 테이블을 포함하는 테이블스페이스의 이름. (default : NULL) hasindexes 테이블에 인덱스 여부 hasrules 테이블에 규칙 여부 hastriggers 테이블에 트리거 여부 https://www.postgresql.org/docs/8.0/view-pg-tables.html 2021. 8. 18. 이전 1 다음