pgsql: Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset() - Mailing list pgsql-committers

From heikki@postgresql.org (Heikki Linnakangas)
Subject pgsql: Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset()
Date
Msg-id 20100407061252.E9FA37541D0@cvs.postgresql.org
Whole thread Raw
Responses Re: pgsql: Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset()
Re: pgsql: Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset()
List pgsql-committers
Log Message:
-----------
Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset() during
recovery. We might want to relax this in the future, but ThisTimeLineID
isn't currently correct in backends during recovery, so the filename
returned was wrong.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        func.sgml (r1.512 -> r1.513)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/func.sgml?r1=1.512&r2=1.513)
    pgsql/src/backend/access/transam:
        xlog.c (r1.389 -> r1.390)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.389&r2=1.390)

pgsql-committers by date:

Previous
From: itagaki@postgresql.org (Takahiro Itagaki)
Date:
Subject: pgsql: psql tab completion for ALTER DEFAULT PRIVILEGES and USER MAPPING
Next
From: Simon Riggs
Date:
Subject: Re: pgsql: Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset()