PostgreSQL 타임존 영구변경을 찾다보면
항상 conf 파일을 수정하라고 한다.
AWS - RDS에서 conf 변경을 할 수 있지만
좀더 쉬운 방법이 있다.
Choose a timezone
from:
SELECT * FROM pg_timezone_names;
And set
as below given example:
ALTER DATABASE postgres SET timezone TO 'Europe/Berlin';
Use your DB name in place of postgres
in above statement.
출처: https://stackoverflow.com/questions/6663765/postgres-default-timezone
No comments:
Post a Comment