copy from만 써서 몰랐는데
to를 써서 파일로 지정해주면 csv 포맷으로 출력이 가능하다고 한다.
[링크 : https://www.postgresqltutorial.com/export-postgresql-table-to-csv-file/]
'프로그램 사용 > postgreSQL' 카테고리의 다른 글
postgresql 제약조건 관련 (0) | 2020.02.07 |
---|---|
postgresql database / table 복제 및 동기화 (0) | 2020.02.07 |
Pk (Primary Key) (0) | 2020.02.07 |
N:M 관계 해소 (0) | 2020.02.07 |
sql에서 null 비교 (0) | 2020.02.07 |