The default timezone is currently set to UTC
. How to replace that default value? I am using PostgreSQL running on top of Amazon RDS
PostgreSQL on Amazon RDS – How to Set Default Timezone
amazon-rdspostgresql
Related Question
- Postgresql – How to create INOUT assignment cast on Amazon RDS PostgreSQL? If not possible, then why
- How to Temporarily Disable Foreign Keys in Amazon RDS PostgreSQL
- Local Backup from Amazon RDS PostgreSQL Database
- PostgreSQL – How to Force SSL for Clients on Amazon RDS
- How to Determine Optimal Value for pg_stat_ramdisk_size on Amazon RDS
- Amazon-rds – Amazon RDS MySQL limitations
- Amazon RDS Support for libprotobuf-c and PostGIS
Best Answer
ALTER DATABASE <db_name> SET TimeZone = 'UTC';
But you shouldn't do that. Using UTC for database is safest thing possible.