mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Fix inconsistencies in the code
This addresses a couple of issues in the code: - Typos and inconsistencies in comments and function declarations. - Removal of unreferenced function declarations. - Removal of unnecessary compile flags. - A cleanup error in regressplans.sh. Author: Alexander Lakhin Discussion: https://postgr.es/m/0c991fdf-2670-1997-c027-772a420c4604@gmail.com
This commit is contained in:
@ -1428,10 +1428,11 @@ GetOldestXmin(Relation rel, int flags)
|
||||
result = replication_slot_xmin;
|
||||
|
||||
/*
|
||||
* After locks have been released and defer_cleanup_age has been applied,
|
||||
* check whether we need to back up further to make logical decoding
|
||||
* possible. We need to do so if we're computing the global limit (rel =
|
||||
* NULL) or if the passed relation is a catalog relation of some kind.
|
||||
* After locks have been released and vacuum_defer_cleanup_age has been
|
||||
* applied, check whether we need to back up further to make logical
|
||||
* decoding possible. We need to do so if we're computing the global limit
|
||||
* (rel = NULL) or if the passed relation is a catalog relation of some
|
||||
* kind.
|
||||
*/
|
||||
if (!(flags & PROCARRAY_SLOTS_XMIN) &&
|
||||
(rel == NULL ||
|
||||
|
Reference in New Issue
Block a user