BBBinary BuddiesDevelopmentOct 20, 20265 min read0 views

PostgreSQL AT TIME ZONE on an Unknown Literal Explained

A bare literal and an explicitly cast one pick different timezone() overloads, and the result types are opposites. Here is how overload resolution decides, and how to write the cast you mean.

Share this article

at time zoneimplicit-conversionpostgresqlsqltimestamptimezone

Comments