possibly a bug?
| От | Ewald Geschwinde |
|---|---|
| Тема | possibly a bug? |
| Дата | |
| Msg-id | 3C587C3B.6070803@geschwinde.net обсуждение исходный текст |
| Ответы |
Re: possibly a bug?
Re: possibly a bug? |
| Список | pgsql-novice |
beta=# select version();
version
---------------------------------------------------------------
PostgreSQL 7.1.3 on i686-pc-linux-gnu, compiled by GCC 2.95.3
(1 row)
Is this a bug or Am i Wrong?
Or can be done this with another sql statement
I want to know only the next day of a date
beta=# SELECT ('2001-10-26'::date + '1 day'::interval)::date;
?column?
------------
2001-10-27
(1 row)
beta=# SELECT ('2001-10-27'::date + '1 day'::interval)::date;
?column?
------------
2001-10-28
(1 row)
beta=# SELECT ('2001-10-28'::date + '1 day'::interval)::date;
?column?
------------
2001-10-28
(1 row)
Ewald Geschwinde
В списке pgsql-novice по дате отправления: