On Mon, Jan 7, 2013 at 5:19 PM, Ryan Kelly <rpkell...@gmail.com> wrote:

> '1 month'::interval is the same as '30 days'::interval.

No, it's not.

# select '2012-07-31'::date + '1 month'::interval, '2012-07-31'::date
+ '30 days'::interval;
      ?column?       |      ?column?
---------------------+---------------------
 2012-08-31 00:00:00 | 2012-08-30 00:00:00

-- Daniele


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to