Are pg_current_wal_XXX, pg_walfile_XXX, pg_switch_wal and pg_wal_lsn_diff misplaced in docs?

Started by Bharath Rupireddyalmost 4 years ago1 messages
#1Bharath Rupireddy
bharath.rupireddyforpostgres@gmail.com

Hi,

I think the WAL related functions [1]pg_current_wal_flush_lsn, pg_current_wal_insert_lsn, pg_current_wal_lsn, pg_walfile_name, pg_walfile_name_offset, pg_switch_wal, pg_wal_lsn_diff are misplaced under the "Backup
Control Functions" category in the docs [2]https://www.postgresql.org/docs/devel/functions-admin.html. IMO, they aren't true
backup control functions anymore and must be under a separate category
like "WAL Utility Functions" or some other.

Thoughts?

[1]: pg_current_wal_flush_lsn, pg_current_wal_insert_lsn, pg_current_wal_lsn, pg_walfile_name, pg_walfile_name_offset, pg_switch_wal, pg_wal_lsn_diff
pg_current_wal_lsn, pg_walfile_name, pg_walfile_name_offset,
pg_switch_wal, pg_wal_lsn_diff
[2]: https://www.postgresql.org/docs/devel/functions-admin.html

Regards,
Bharath Rupireddy.