Re: age(xid) function bug

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: age(xid) function bug
Date: 2008-08-20 03:58:46
Message-ID: 19803.1219204726@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <bruce(at)momjian(dot)us> writes:
> However, the function only does a subtraction with no adjustment for
> overflow, and considering it returns a signed int, it can't even display
> the full range of valid values:

Say again? The possible range of ages is only 2 billion.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-08-20 04:06:40 Re: age(xid) function bug
Previous Message David Fetter 2008-08-20 03:56:45 Re: Re: [COMMITTERS] pgsql: Make the pg_stat_activity view call a SRF