Skip site navigation (1) Skip section navigation (2)

xlog filename formatting functions in recovery

From: Daniel Farina <daniel(at)heroku(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: xlog filename formatting functions in recovery
Date: 2012-07-03 08:24:42
Message-ID: CAAZKuFbuYViM4nsT1L9xw9CT75fMo4909=zz3cX0+oyGXhc4aQ@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Hello,

I've noticed recently that I can't seem to use the convenient xlog
filename formatting functions while I'm in a standby.  I don't see an
incredibly obvious reason why that is the case, so here's a patch that
simply removes the ban on being able to call these formatting
functions.

Perhaps I'm missing something, but it feels like this is an oversight
from the days when there was no useful function to call that formatted
a X/X-type record on a standby.

-- 
fdr

Attachment: Make-xlog-filename-formatters-usable-while-in-recovery-v1.patch
Description: application/octet-stream (4.9 KB)

Responses

pgsql-hackers by date

Next:From: Daniel FarinaDate: 2012-07-03 08:31:44
Subject: Re: xlog filename formatting functions in recovery
Previous:From: Magnus HaganderDate: 2012-07-03 08:01:02
Subject: Re: File format for SSL CRL file

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group