Forbid using pg_xlogfile_name() and pg_xlogfile_name_offset() during
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +3 −3 |
| src/backend/access/transam/xlog.c | modified | +13 −1 |