pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: segu.sandeep@gmail.com
To: pgsql-docs@postgresql.org
Subject: Reg Date/Time function
Date: Tue, 01 Aug 2017 00:30:23 +0000
Message-ID: <20170801003023.1456.83612@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/8.2/static/functions-datetime.html
Description:

Hi, 
I am going through PostgreSQL, for the first day. And it was great till
now.
One quick question/doubt regarding the function &quot;justify_days(interval)&quot;

select justify_days(interval &#39;365 days&#39;);

this statement returns  1 year 5 days, whereas I feel it should be just 1
year.

Please correct me if I am wrong.. Thanks for all your time.

-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


view thread (5+ messages)  latest in thread

Message-ID: <20170801003023.1456.83612@wrigleys.postgresql.org>
Permalink:  ../20170801003023.1456.83612@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20170801003023.1456.83612@wrigleys.postgresql.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: segu.sandeep@gmail.com
  Subject: Re: Reg Date/Time function
  In-Reply-To: <20170801003023.1456.83612@wrigleys.postgresql.org>

* 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