![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
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 |
#2
| |||
| |||
|
|
Bruce Momjian <pgman (AT) candle (DOT) pha.pa.us> writes: Tom Lane wrote: There's a date + integer operator, but no integer + date operator. Yawn... Uh, "Yawn" means we don't need to fix it, or "oh, here's another one"? It means "I can't get excited about it." The docs don't claim that we have such an operator (do they?) and I see no clear advantage to adding one. regards, tom lane |
#3
| |||
| |||
|
|
Tom Lane wrote: There's a date + integer operator, but no integer + date operator. Yawn... Uh, "Yawn" means we don't need to fix it, or "oh, here's another one"? |
#4
| |||
| |||
|
|
Bruce Momjian <pgman (AT) candle (DOT) pha.pa.us> writes: Anyone have an idea on this one? There's a date + integer operator, but no integer + date operator. Yawn... |
![]() |
| Thread Tools | |
| Display Modes | |
| |