From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | dax(at)gurulabs(dot)com, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Bug #463: Make 'infinity' work with type 'date' |
Date: | 2001-10-11 16:49:57 |
Message-ID: | 200110111649.f9BGnvW19966@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Can someone comment on this? The problem appears in current sources:
test=> INSERT INTO a VALUES ('infinity');
ERROR: Unrecognized date external representation 'infinity'
Is there a reason we support "infinity" in timestamp and not date?
> Dax Kelson (dax(at)gurulabs(dot)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
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Orion | 2001-10-11 19:39:38 | Cant get planner to use index (7.1.3-1PGDG) |
Previous Message | pgsql-bugs | 2001-10-11 10:37:44 | Bug #478: Integer overflow in pg_dump |