Skip site navigation (1) Skip section navigation (2)

Re: Support for XLogRecPtr in expand_fmt_string?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, 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:52:51
Message-ID: 12050.1341341571@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> 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.

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

That'd be problematic also, because of the lack of standardization of
the format code for uint64.  We could write things like
	"message... " UINT64_FORMAT " ...more message"
but I wonder how well the translation tools would work with that;
and anyway it would at least double the translation effort for
messages containing such things.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Andres FreundDate: 2012-07-03 18:59:00
Subject: Re: Support for XLogRecPtr in expand_fmt_string?
Previous:From: Peter EisentrautDate: 2012-07-03 18:45:51
Subject: Re: Support for XLogRecPtr in expand_fmt_string?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group