postgresql 접속 방법 및 간단한 쿼리
2022. 9. 22. 18:07ㆍ기타/PostgreSQL
728x90
SMALL
- client access
psql -h <postgresql-end-point> -U <user> -d <database> -W
- database list
SELECT datname FROM pg_database WHERE datistemplate = false;
- process list
select * from pg_stat_activity;
728x90
LIST
'기타 > PostgreSQL' 카테고리의 다른 글
PostgreSQL dump & restore (0) | 2025.02.26 |
---|---|
Rocky Linux 8에 PostgreSQL client 설치 및 삭제 방법 (0) | 2025.02.26 |