diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-03-18 09:18:54 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-03-18 09:18:54 +0000 |
commit | 9c563b6fd0f08fa140459cc825e365514f2dcc2d (patch) | |
tree | 01a8f6040c267737035e86f5907afa2e2ddfc288 /src/tutorial/funcs.c | |
parent | c487a9540cb13c344e1830beb3b149308725171f (diff) | |
download | postgresql-9c563b6fd0f08fa140459cc825e365514f2dcc2d.tar.gz postgresql-9c563b6fd0f08fa140459cc825e365514f2dcc2d.zip |
Fix bug in %r handling in recovery_end_command, it always came out as 0
because InRedo was cleared before recovery_end_command was executed.
Also, always take ControlFileLock when reading checkpoint location for
%r. That didn't matter before, but in 8.4 bgwriter is active during
recovery and can modify the control file concurrently.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions