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