pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Erik Wienhold <ewie@ewie.name>
Cc: Steve Rogerson <steve.git@woodsideendurance.co.uk>
Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
Subject: Re: Possible old and fixed bug in Postgres?
Date: Wed, 05 Apr 2023 10:16:56 -0400
Message-ID: <1833663.1680704216@sss.pgh.pa.us> (raw)
In-Reply-To: <2134938884.639895.1680690198796@office.mailbox.org>
References: <f8a40a55-0cfe-9c48-1f34-c157f34b5f46@woodsideendurance.co.uk>
	<2134938884.639895.1680690198796@office.mailbox.org>

Erik Wienhold <ewie@ewie.name> writes:
>> On 05/04/2023 11:18 CEST Steve Rogerson <steve.git@woodsideendurance.co.uk> wrote:
>>     # For very early and late dates, PostgreSQL always returns times in
>>     # UTC and does not tell us that it did so.
>> Early is before 1901-12-14 and late after 2038-01-18
>> ...
>> These seemed correct to me. I'm guessing this might have been a bug/feature of 
>> pg in the long ago.

> Judging by the commit message and changed test cases, probably:

> https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=921d749bd4c34c3349f1c254d5faa2f1cec03...

I think this was not fixed in full until 2008:

https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=0171e72d4da2da7974ff13c63...

Either way, though, whatever Steve is looking at is far past its
sell-by date.

			regards, tom lane





view thread (6+ messages)  latest in thread

Message-ID: <1833663.1680704216@sss.pgh.pa.us>
Permalink:  ../1833663.1680704216@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1833663.1680704216@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, ewie@ewie.name, steve.git@woodsideendurance.co.uk
  Subject: Re: Possible old and fixed bug in Postgres?
  In-Reply-To: <1833663.1680704216@sss.pgh.pa.us>
  References: <f8a40a55-0cfe-9c48-1f34-c157f34b5f46@woodsideendurance.co.uk> <2134938884.639895.1680690198796@office.mailbox.org> <1833663.1680704216@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