Bug fix for missing years in make_date()

From: David Fetter <david(at)fetter(dot)org>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Bug fix for missing years in make_date()
Date: 2015-03-26 22:26:06
Message-ID: 20150326222606.GE8922@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers


For reasons unclear, dates before the Common Era are disallowed in
make_date(), even though about 2/3 of the underlying data type's range
up until the present time fits that description.

Please find attached a patch fixing same.

David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Attachment Content-Type Size
wider_make_date_001.patch text/plain 2.2 KB


Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2015-03-26 23:30:40 Re: controlling psql's use of the pager a bit more
Previous Message Jerry Sievers 2015-03-26 22:18:45 Re: Changing ownership of simple composite incomplete?