Bug #463: Make 'infinity' work with type 'date' - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Bug #463: Make 'infinity' work with type 'date'
Date
Msg-id 200109202125.f8KLPgo67558@hub.org
Whole thread Raw
Responses Re: Bug #463: Make 'infinity' work with type 'date'  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-bugs
Dax Kelson (dax@gurulabs.com) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
Make 'infinity' work with type 'date'

Long Description
CREATE TABLE test ( somedate date NOT NULL DEFAULT 'infinity' );
ERROR: Unrecognized date external representation of 'infinity'

But,

CREATE TABLE test ( somedate timestamp NOT NULL DEFAULT 'infinity' );

Works.


Sample Code


No file was uploaded with this report

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #462: bug in ODBC interface in unix environment
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #464: To uKanjiv