Bruce Momjian <br...@momjian.us> writes: > Oh, one odd thing about this patch. I found I needed to use INT64_MAX, > but I don't see it used anywhere else in our codebase. Is this OK? Is > there a better way?
Most of the overflow tests in int.c and int8.c are coded to avoid relying on the MIN or MAX constants; which seemed like better style at the time. I'm not sure whether relying on INT64_MAX to exist is portable. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers