반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- COALESCE
- aws cicd
- Spring Error
- VPN
- Airflow
- chartjs
- IntelliJ
- redis
- kubeflow
- Kafka
- docker
- Flux
- java bigdecimal
- 도커
- PostgreSQL
- aws
- SQL
- JavaScript
- or some instances in your deployment group are experiencing problems.
- codedeploy
- Python
- codebuild
- node
- chart.js
- bootstrap
- Jenkins
- AWS CI/CD 구축하기
- Spring
- codedeploy error
- codepipeline
Archives
- Today
- Total
목록postgresql 접속 (1)
Small Asteroid Blog

psql로 접속 후 사용하는 명령어이다. 명령어 postgresql 접속 명령어 sudo -u postgres psql postgresql 종료 명령어 \q ** crud 명령어 뒤에는 세미콜론을 붙여서 사용해야한다. 데이터베이스 전체 데이터베이스 조회 select datname from pg_database; database 확인 (소문자 L) \l database 변경 \c 데이터베이스이름 테이블 전체 테이블 조회 #psql \dt \dt *.* \c 데이터베이스이름 #sql select tablename from pg_tables; SELECT * FROM pg_catalog.pg_tables; 계정 사용자 확인 select * from pg_user; 계정삭제 drop role 계정; 계정 확인 ..
백엔드/DB
2021. 6. 18. 16:34