Re: xlog location arithmetic - Mailing list pgsql-hackers

From Tom Lane
Subject Re: xlog location arithmetic
Date
Msg-id 28480.1331303855@sss.pgh.pa.us
Whole thread Raw
In response to Re: xlog location arithmetic  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: xlog location arithmetic
Re: xlog location arithmetic
Re: xlog location arithmetic
List pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> Euler proposed one more patch upthread, which replaces pg_size_pretty(bigint)
> with pg_size_pretty(numeric) so that pg_size_pretty(pg_xlog_location_diff())
> succeeds. It's also worth committing this patch?

Why would it be useful to use pg_size_pretty on xlog locations?
-1 because of the large expense of bigint->numeric->whatever conversion
that would be added to existing uses.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Thom Brown
Date:
Subject: Re: Command Triggers, patch v11
Next
From: Robert Haas
Date:
Subject: Re: xlog location arithmetic