diff options
Diffstat (limited to 'src/bin/pg_rewind/libpq_fetch.c')
-rw-r--r-- | src/bin/pg_rewind/libpq_fetch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_rewind/libpq_fetch.c b/src/bin/pg_rewind/libpq_fetch.c index a903849ee47..d2374201c66 100644 --- a/src/bin/pg_rewind/libpq_fetch.c +++ b/src/bin/pg_rewind/libpq_fetch.c @@ -121,7 +121,7 @@ run_simple_query(const char *sql) } /* - * Calls pg_current_xlog_insert_location() function + * Calls pg_current_wal_insert_location() function */ XLogRecPtr libpqGetCurrentXlogInsertLocation(void) @@ -131,7 +131,7 @@ libpqGetCurrentXlogInsertLocation(void) uint32 lo; char *val; - val = run_simple_query("SELECT pg_current_xlog_insert_location()"); + val = run_simple_query("SELECT pg_current_wal_insert_location()"); if (sscanf(val, "%X/%X", &hi, &lo) != 2) pg_fatal("unrecognized result \"%s\" for current WAL insert location\n", val); |