Kari Lempiainen <kari(at)funky(dot)pp(dot)fi> writes:
> temperature=# select extract(timezone_hour from timestamp '2001-10-10
> 01:04:54.965162+03');
> ERROR: TIMESTAMP units 'timezone_hour' not supported
"timestamp" doesn't contain a timezone. Use "timestamp with time zone".
regards, tom lane