pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Thomas Kellerer <shammat@gmx.net>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: timestamp - timestamp result
Date: Fri, 26 Jun 2020 12:53:49 -0400
Message-ID: <19970.1593190429@sss.pgh.pa.us> (raw)
In-Reply-To: <CAFj8pRA2SbOjviqpcbaRNZPnTfU3EuvPnQAZk+fj0iuuhOCPgA@mail.gmail.com>
References: <c1696f68-fa8d-7759-6a9c-eb293ab1bbc9@gmx.net>
	<CAFj8pRA2SbOjviqpcbaRNZPnTfU3EuvPnQAZk+fj0iuuhOCPgA@mail.gmail.com>

Pavel Stehule <pavel.stehule@gmail.com> writes:
> pá 26. 6. 2020 v 7:29 odesílatel Thomas Kellerer <shammat@gmx.net> napsal:
>> Is it safe to assume that "timestamp - timestamp" will never contain units
>> larger then days?

> Now, this operator internally calls only interval_justify_hours functions.

We should probably document that --- I'll go do so.

			regards, tom lane





view thread (3+ messages)

Message-ID: <19970.1593190429@sss.pgh.pa.us>
Permalink:  ../19970.1593190429@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19970.1593190429@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, pavel.stehule@gmail.com, shammat@gmx.net
  Subject: Re: timestamp - timestamp result
  In-Reply-To: <19970.1593190429@sss.pgh.pa.us>
  References: <c1696f68-fa8d-7759-6a9c-eb293ab1bbc9@gmx.net> <CAFj8pRA2SbOjviqpcbaRNZPnTfU3EuvPnQAZk+fj0iuuhOCPgA@mail.gmail.com> <19970.1593190429@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