Re: timestamp with time zone - Mailing list pgsql-performance

From Kevin Grittner
Subject Re: timestamp with time zone
Date
Msg-id 4F33D4FE0200002500045139@gw.wicourts.gov
Whole thread Raw
In response to Re: timestamp with time zone  (Alessandro Gagliardi <alessandro@path.com>)
Responses Re: timestamp with time zone
List pgsql-performance
Alessandro Gagliardi <alessandro@path.com> wrote:

> (Actually, I originally did try one on "(created at time zone
> timezone)::date" but couldn't figure out how to phrase it in a way
> PostgreSQL would accept.)

CREATE INDEX blocks_created_date_idx
  ON blocks
  USING btree
  (((created at time zone timezone)::date));

-Kevin

pgsql-performance by date:

Previous
From: Alessandro Gagliardi
Date:
Subject: Re: timestamp with time zone
Next
From: Alessandro Gagliardi
Date:
Subject: Re: timestamp with time zone