From: | Daniel Kalchev <daniel(at)digsys(dot)bg> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: maxint reached? |
Date: | 2002-04-03 07:11:06 |
Message-ID: | 200204030711.g337B6u05413@dcave.digsys.bg |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>>>Tom Lane said:
> Daniel Kalchev <daniel(at)digsys(dot)bg> writes:
> > So in essence this means that my best bet is to again dump/reload the
> > database...
>
> Either that or fix your queries to cast the literals explicitly.
Sorry for the incomplete reply:
this does not work:
customer=# select max(oid) from croute;
max
-------------
-2144025472
(1 row)
this does work:
customer=# select oid(max(oid)) from croute;
oid
------------
2150941824
(1 row)
weird, isn't it? I guess max should return the same type as it's arguments, no?
Daniel
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2002-04-03 07:24:09 | Re: SHOW ALL as a query result |
Previous Message | Daniel Kalchev | 2002-04-03 07:09:34 | Re: maxint reached? |