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: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

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

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.


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


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-2018 The PostgreSQL Global Development Group