Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset - Mailing list pgsql-hackers

From Erik Rijkers
Subject Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset
Date
Msg-id 424fced96831d7ed8e1d657ae318cf84.squirrel@webmail.xs4all.nl
Whole thread Raw
In response to testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset  ("Erik Rijkers" <er@xs4all.nl>)
Responses Re: testing cvs HEAD - HS/SR - xlog timeline 0 pg_xlogfile_name_offset
List pgsql-hackers
On Wed, February 24, 2010 20:40, Erik Rijkers wrote:
>
>
>  pg_last_xlog_receive_location |      pg_xlogfile_name_offset
> -------------------------------+-----------------------------------
>  E2/C012AD90                   | (00000000000000E2000000C0,1224080)
>  (1 row)
>
> These zero-timeline filenames look suspicious, no?

Sorry, I've only now noticed that this issue is already on the v9.0 TODO for Streaming Replication:

"pg_xlogfile_name(pg_last_xlog_receive/replay_location()) might report the wrong name. Because a
backend cannot know the actual timeline which is related to the location.
"

http://archives.postgresql.org/message-id/3f0b79eb1001190135vd9f62f1sa7868abc1ea61d12@mail.gmail.com

so, nevermind..

Erik Rijkers




pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: pg_stop_backup does not complete
Next
From: Takahiro Itagaki
Date:
Subject: Re: query cancel issues in contrib/dblink