You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Simplify handling of the timezone GUC by making initdb choose the default.
We were doing some amazingly complicated things in order to avoid runningthe very expensive identify_system_timezone() procedure during GUCinitialization. But there is an obvious fix for that, which is to do itonce during initdb and have initdb install the system-specific default intopostgresql.conf, as it already does for most other GUC variables that needsystem-environment-dependent defaults. This means that the timezone (andlog_timezone) settings no longer have any magic behavior in the server.Per discussion.