przemek(at)hadapt(dot)com writes:
> The following bug has been logged on the website:
> Bug reference: 8572
> Logged by: Combination of SET TIME ZONEs and CAST gives wrong results
> Email address: przemek(at)hadapt(dot)com
> PostgreSQL version: 9.1.10
I've committed fixes for this and some related problems. Thanks for the
report!
regards, tom lane