From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: small bug in op + between datetime and integer |
Date: | 2003-08-17 04:13:24 |
Message-ID: | 200308170413.h7H4DOs07645@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Anyone have an idea on this one?
---------------------------------------------------------------------------
Pavel Stehule wrote:
> Hello
>
> It is maybe not bug, but I didn't find any warning about this behavior.
>
> select current_date + 1; -- ok
> select 1 + current_date; -- not
>
> ERROR: operator does not exist: integer + date
> HINT: No operator matches the given name and argument type(s). You may
> need to add explicit typecasts.
>
> I use CVS version of PostgreSQL from last week
>
> regards
>
> Pavel Stehule
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-08-17 04:37:46 | Re: [BUGS] pg 7.4beta1 doc bug: vacuum not updated |
Previous Message | Kevin Houle | 2003-08-17 02:58:58 | Re: DBD::Pg 'lo_read' fails on >= 32768 byte large objects |