Re: Intervals and ISO 8601 duration

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
Cc: ken(dot)tanzer(at)gmail(dot)com, adrian(dot)klaver(at)aklaver(dot)com, sebastien(dot)flaesch(at)4js(dot)com, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Intervals and ISO 8601 duration
Date: 2023-01-14 05:20:51
Message-ID: 918553.1673673651@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp> writes:
> I am not sure if I fully understand what you want to do here but I
> guess you can extract "93600000" part easier using "EPOCH" of EXTRACT
> function.

EPOCH merges all three of the primitive fields together, which
is not what Ken is after IIUC.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2023-01-14 05:27:15 Re: Intervals and ISO 8601 duration
Previous Message qihua wu 2023-01-14 03:16:56 synchronized standby: committed local and waiting for remote ack