Re: Support for XLogRecPtr in expand_fmt_string?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Subject: Re: Support for XLogRecPtr in expand_fmt_string?
Date: 2012-07-03 18:45:51
Message-ID: 1341341151.21530.22.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On tis, 2012-07-03 at 19:35 +0200, Andres Freund wrote:
> I wonder if we just should add a format code like %R or something similar as a
> replacement for the %X/%X notion. Having to type something like "(uint32)
> (state->curptr >> 32), (uint32)state->curptr" everywhere is somewhat annoying.

Maybe just print it as a single 64-bit value from now on.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-07-03 18:52:51 Re: Support for XLogRecPtr in expand_fmt_string?
Previous Message Tom Lane 2012-07-03 18:09:40 Re: Support for XLogRecPtr in expand_fmt_string?