BUG #14446: make_date with negative year

From: abelisto(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14446: make_date with negative year
Date: 2016-12-04 05:59:39
Message-ID: 20161204055939.4361.33460@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14446
Logged by: Andy Abelisto
Email address: abelisto(at)gmail(dot)com
PostgreSQL version: 9.5.5
Operating system: Linux Mint
Description:

with t(x) as (values('1111-11-11 BC'::date)) select make_date(extract(year
from x)::int, extract(month from x)::int, extract(day from x)::int) from
t;
ERROR: date field value out of range: -1111-11-11

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2016-12-04 13:40:50 Re: BUG #14446: make_date with negative year
Previous Message Jaime Casanova 2016-12-04 01:01:02 Re: Segmentation fault in PQexec