pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Sergei Kornilov <sk@zsrv.org>
Cc: taddeoluca96\@gmail.com <taddeoluca96@gmail.com>
Cc: pgsql-bugs\@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15389: Fill zero in milliseconds of a timestamp
Date: Tue, 18 Sep 2018 14:30:10 +0100
Message-ID: <87o9cvhr8k.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <CAKFQuwZjOM4pr5ayBvaev66M6S=fAaeWEvJr=2D0kk7h=BqhGg@mail.gmail.com>
References: <153727105563.28481.15155482805507428357@wrigleys.postgresql.org>
	<1282311537271961@sas2-ce04c18c415c.qloud-c.yandex.net>
	<CAKFQuwZjOM4pr5ayBvaev66M6S=fAaeWEvJr=2D0kk7h=BqhGg@mail.gmail.com>

>>>>> "David" == David G Johnston <david.g.johnston@gmail.com> writes:

 >> I think Java is incorrect here. Usually trailing zeros can be
 >> omitted. Also postgresql timestamp has resolution 1 microsecond, so
 >> with trailing zeros it must be "2014-09-26 17:17:45.990000", not
 >> "2014-09-26 17:17:45.990".

 David> Except the decimal in that construct is a simple part separator
 David> and not a fractional indicator.

Both the SQL spec and ISO 8601 beg to differ.

-- 
Andrew (irc:RhodiumToad)




view thread (4+ messages)

Message-ID: <87o9cvhr8k.fsf@news-spur.riddles.org.uk>
Permalink:  ../87o9cvhr8k.fsf@news-spur.riddles.org.uk/
Also on:    postgresql.org/message-id/87o9cvhr8k.fsf@news-spur.riddles.org.uk

 · 

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-bugs@postgresql.org
  Cc: andrew@tao11.riddles.org.uk, david.g.johnston@gmail.com, sk@zsrv.org, taddeoluca96@gmail.com
  Subject: Re: BUG #15389: Fill zero in milliseconds of a timestamp
  In-Reply-To: <87o9cvhr8k.fsf@news-spur.riddles.org.uk>
  References: <153727105563.28481.15155482805507428357@wrigleys.postgresql.org> <1282311537271961@sas2-ce04c18c415c.qloud-c.yandex.net> <CAKFQuwZjOM4pr5ayBvaev66M6S=fAaeWEvJr=2D0kk7h=BqhGg@mail.gmail.com> <87o9cvhr8k.fsf@news-spur.riddles.org.uk>

* 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