aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/xlog.h
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2012-01-11 11:00:53 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2012-01-11 11:01:47 +0200
commit1b9dea04b5cd8b1b2f8041e4aece9d573f007eb1 (patch)
tree66c32029400c0677271419ab1fa005d6d221495f /src/include/access/xlog.h
parent9c808f89c2841dd847555898a8db45fcd69e913b (diff)
downloadpostgresql-1b9dea04b5cd8b1b2f8041e4aece9d573f007eb1.tar.gz
postgresql-1b9dea04b5cd8b1b2f8041e4aece9d573f007eb1.zip
Remove useless 'needlock' argument from GetXLogInsertRecPtr. It was always
passed as 'true'.
Diffstat (limited to 'src/include/access/xlog.h')
-rw-r--r--src/include/access/xlog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h
index 93622c4d357..1ddf4bf15f9 100644
--- a/src/include/access/xlog.h
+++ b/src/include/access/xlog.h
@@ -288,7 +288,7 @@ extern bool XLogInsertAllowed(void);
extern void GetXLogReceiptTime(TimestampTz *rtime, bool *fromStream);
extern XLogRecPtr GetXLogReplayRecPtr(XLogRecPtr *restoreLastRecPtr);
extern XLogRecPtr GetStandbyFlushRecPtr(void);
-extern XLogRecPtr GetXLogInsertRecPtr(bool needlock);
+extern XLogRecPtr GetXLogInsertRecPtr(void);
extern XLogRecPtr GetXLogWriteRecPtr(void);
extern bool RecoveryIsPaused(void);
extern void SetRecoveryPause(bool recoveryPause);