On Wed, Apr 7, 2010 at 7:23 PM, Heikki Linnakangas <[email protected]> wrote: > This commit is a stop-gap solution until we figure out what exactly to > do about that. Masao-san wrote a patch that included the TLI in the > string returned by pg_last_xlog_receive/replay_location() (see > http://archives.postgresql.org/message-id/[email protected] > and > http://archives.postgresql.org/message-id/[email protected]), > but it still wasn't clear it did the right thing in corner-cases where > the TLI changes. Using GetRecoveryTargetTLI() for the tli returned by > pg_last_receive_location() seems bogus, at least.
Why? The tli of the last WAL record received is always the recovery target tli currently. So using GetRecoveryTargetTLI() for pg_last_xlog_receive_location() seems OK for me. Am I missing something? Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
