xlog filename formatting functions in recovery
Daniel Farina <daniel@heroku.com>
From: Daniel Farina <daniel@heroku.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2012-07-03T08:24:42Z
Lists: pgsql-hackers
Attachments
- Make-xlog-filename-formatters-usable-while-in-recovery-v1.patch (application/octet-stream)
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