aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogfuncs.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-06-09 14:04:22 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-06-09 14:04:22 -0400
commit8c9387c55e67ca7c23bb8ffd7e8342cca7be127b (patch)
tree4d2f76817814faf2673fb1aa2df0cf63c6a9fe36 /src/backend/access/transam/xlogfuncs.c
parentdabbe8d56470f456e997700efa7d592306ca4274 (diff)
downloadpostgresql-8c9387c55e67ca7c23bb8ffd7e8342cca7be127b.tar.gz
postgresql-8c9387c55e67ca7c23bb8ffd7e8342cca7be127b.zip
Update code comments
Author: Neha Khatri <nehakhatri5@gmail.com>
Diffstat (limited to 'src/backend/access/transam/xlogfuncs.c')
-rw-r--r--src/backend/access/transam/xlogfuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlogfuncs.c b/src/backend/access/transam/xlogfuncs.c
index b3223d691da..fb905c0a1cd 100644
--- a/src/backend/access/transam/xlogfuncs.c
+++ b/src/backend/access/transam/xlogfuncs.c
@@ -449,7 +449,7 @@ pg_last_wal_replay_lsn(PG_FUNCTION_ARGS)
/*
* Compute an xlog file name and decimal byte offset given a WAL location,
- * such as is returned by pg_stop_backup() or pg_xlog_switch().
+ * such as is returned by pg_stop_backup() or pg_switch_wal().
*
* Note that a location exactly at a segment boundary is taken to be in
* the previous segment. This is usually the right thing, since the
@@ -515,7 +515,7 @@ pg_walfile_name_offset(PG_FUNCTION_ARGS)
/*
* Compute an xlog file name given a WAL location,
- * such as is returned by pg_stop_backup() or pg_xlog_switch().
+ * such as is returned by pg_stop_backup() or pg_switch_wal().
*/
Datum
pg_walfile_name(PG_FUNCTION_ARGS)