Create crosstype comparison operators for date vs. timestamp and date

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a9e08392dd6fc6d7d1122296bf5525fbbd61ad0d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-02-14T20:16:18Z
Releases: 8.0.0
Create crosstype comparison operators for date vs. timestamp and date
vs. timestamptz.  This allows use of indexes for expressions like
  datecol >= date 'today' - interval '1 month'
which were formerly not indexable without casting the righthand side
down from timestamp to date.

Files