Re: Print pg_lsn as a number?

From: Andres Freund <andres(at)anarazel(dot)de>
To: Scott Stroupe <sstroupe(at)kofile(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Print pg_lsn as a number?
Date: 2018-06-12 17:39:43
Message-ID: 20180612173943.rkzhfcjzaipjvs4n@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

On 2018-06-12 09:31:49 -0700, Scott Stroupe wrote:
> According to the documentation[1], pg_lsn is a 64-bit integer that's
> printed as two hex numbers separated by a slash, e.g. 68/1225BB70. Is
> there a way to get the 64-bit integer in a common numeric
> representation instead of the peculiar hex-slash-hex representation?

What do you want to do with the LSN?

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message btober@computer.org 2018-06-12 17:53:38 What does Natvie Posgres mean?
Previous Message Adrian Klaver 2018-06-12 17:18:31 Re: Software that can automatically make sense of a DB's tables and ID names