This article is half-done without your Comment! *** Please share your thoughts via Comment ***
Important Notice/Change in PostgreSQL 10.
Previously, xlog referred to as transaction log including their directories and functions. Now xlog changed to wal.
If you are starting to use PostgreSQL 10, you have to change all old admin scripts and functions from xlog to wal.
Also, PostgreSQL 10 changed location word to lsn in few function names.
Please check the changes:
Directories: (9.6 to 10)
pg_xlog –> pg_wal
pg_clog –> pg_xact
pg_current_xlog_flush_location –> pg_current_wal_flush_lsn
pg_current_xlog_insert_location –> pg_current_wal_insert_lsn
pg_current_xlog_location –> pg_current_wal_lsn
pg_is_xlog_replay_paused –> pg_is_wal_replay_paused
pg_last_xlog_receive_location –> pg_last_wal_receive_lsn
pg_last_xlog_replay_location –> pg_last_wal_replay_lsn
pg_switch_xlog –> pg_switch_wal
pg_xlog_location_diff –> pg_wal_lsn_diff
pg_xlog_replay_pause –> pg_wal_replay_pause
pg_xlog_replay_resume –> pg_wal_replay_resume
pg_xlogfile_name –> pg_walfile_name
pg_xlogfile_name_offset –> pg_walfile_name_offset