postgres.git / summary / log / commit / refs

commit    e8b39cebdaf042dfeeb31d2f48f0fe7b33886210
Author:   Michael Paquier <michael@paquier.xyz>
Date:     Sun Sep 26 10:18:23 2021 +0000

    Fix typos in docs
    
    Author: Justin Pryzby
    Discussion: https://postgr.es/m/20210924215827.GS831@telsasoft.com
    Backpatch-through: 9.6


doc/src/sgml/datatype.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index 3c46101fb87..a258acfae1b 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -2804,7 +2804,7 @@ P <optional> <replaceable>years</replaceable>-<replaceable>months</replaceable>- weeks'</literal> or <literal>'01:02:03.45'</literal>. However, because interval internally stores only three integer units (months, days, microseconds), fractional units must be spilled to smaller - units. Fractional parts of units greater than months is truncated to + units. Fractional parts of units greater than months are truncated to be an integer number of months, e.g. <literal>'1.5 years'</literal> becomes <literal>'1 year 6 mons'</literal>. Fractional parts of weeks and days are computed to be an integer number of days and [parent: 765f677f3641]