PostgreSQL:"带时区的时间戳"和"时区"的别名

Kon*_*rus 0 postgresql time timezone

我碰巧timestamp without time zone在我的数据库中有表列.现在我需要将它们与时区进行比较.

我可以这样做:

select my_timestamp::timestamp with time zone at time zone 'EST5EDT'
from my_table
where 
    my_timestamp >= '2010-07-01'::timestamp at time zone 'EST5EDT' 
    and my_timestamp < '2010-08-01'::timestamp at time zone 'EST5EDT'
Run Code Online (Sandbox Code Playgroud)

这变得非常难看.是否有一种较短的方式,不需要我输入timestamp with time zone类型和at time zone转换?

Mil*_*dev 5

timestamptz是别名timestamp with time zone,timestamp是别名timestamp without time zone.

我不认为at time zone有别名.