pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tatsuo Ishii <ishii@sraoss.co.jp>
Cc: ken.tanzer@gmail.com
Cc: adrian.klaver@aklaver.com
Cc: sebastien.flaesch@4js.com
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Intervals and ISO 8601 duration
Date: Sat, 14 Jan 2023 00:20:51 -0500
Message-ID: <918553.1673673651@sss.pgh.pa.us> (raw)
In-Reply-To: <20230114.111614.1469371403528976424.t-ishii@sranhm.sra.co.jp>
References: <CAD3a31Vk7z_ADWt8qtySB+An8aFTGmYvT5979Da0JGhDoy3yUg@mail.gmail.com>
	<892688.1673657835@sss.pgh.pa.us>
	<CAD3a31V2_qf_KS6cC2yPehR9mB+V+9h354gSpzQ2ioeDk5Zj_w@mail.gmail.com>
	<20230114.111614.1469371403528976424.t-ishii@sranhm.sra.co.jp>

Tatsuo Ishii <ishii@sraoss.co.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





view thread (24+ messages)  latest in thread

Message-ID: <918553.1673673651@sss.pgh.pa.us>
Permalink:  ../918553.1673673651@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/918553.1673673651@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, ishii@sraoss.co.jp, ken.tanzer@gmail.com, adrian.klaver@aklaver.com, sebastien.flaesch@4js.com
  Subject: Re: Intervals and ISO 8601 duration
  In-Reply-To: <918553.1673673651@sss.pgh.pa.us>
  References: <CAD3a31Vk7z_ADWt8qtySB+An8aFTGmYvT5979Da0JGhDoy3yUg@mail.gmail.com> <892688.1673657835@sss.pgh.pa.us> <CAD3a31V2_qf_KS6cC2yPehR9mB+V+9h354gSpzQ2ioeDk5Zj_w@mail.gmail.com> <20230114.111614.1469371403528976424.t-ishii@sranhm.sra.co.jp> <918553.1673673651@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox