Re: pgsql: Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset()

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: David Fetter <david(at)fetter(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset()
Date: 2010-04-07 16:14:18
Message-ID: 4BBCAF5A.9010702@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

David Fetter wrote:
> On Wed, Apr 07, 2010 at 06:12:52AM +0000, Heikki Linnakangas wrote:
>> 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.
>
> Is this Fujii Masao's patch? If so, please make sure to mention this
> in your commit messages :)

Yes. Sorry.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-04-07 21:41:53 pgsql: Fix to_char YYY, YY, Y format codes so that FM zero-suppression
Previous Message David Fetter 2010-04-07 16:07:42 Re: pgsql: Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset()

Browse pgsql-hackers by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2010-04-07 16:20:41 Re: Win32 timezone matching
Previous Message David Fetter 2010-04-07 16:07:42 Re: pgsql: Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset()