postgresql - pg_catalog를 통한 테이블 목록 열람
SELECT * FROM pg_catalog.pg_tables
where schemaname = 'public';
postresql은 내부적으로 pg_catalog를 통해서
관리용 정보, meta정보들을 테이블 형태로 관리한다.
사용자가 서비스를 구현하기 위해
직접 관리하는 테이블은 아니라는 의미에서
내부적이라는 용어를 사용하였음.
schemaname에는 'public'이외에도 'pg_catalog','information_schema'가 존재
댓글
댓글 쓰기