pgsql: Further simplify a bit of logic in StartupXLOG().

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Further simplify a bit of logic in StartupXLOG().
Date: 2021-08-03 02:18:58
Message-ID: E1mAk1C-0007ME-PI@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Further simplify a bit of logic in StartupXLOG().

Commit 7ff23c6d277d1d90478a51f0dd81414d343f3850 left us with two
identical cases. Collapse them.

Author: Robert Haas <robertmhaas(at)gmail(dot)com>
Discussion: https://postgr.es/m/CA%2BhUKGJ8NRsqgkZEnsnRc2MFROBV-jCnacbYvtpptK2A9YYp9Q%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8f7c8e2bef2bd2587e5d66dd20de15f3db0a6bcb

Modified Files
--------------
src/backend/access/transam/xlog.c | 34 ++++++++++++++--------------------
1 file changed, 14 insertions(+), 20 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2021-08-03 14:58:08 pgsql: doc: add example of using pg_dump with GNU split and gzip
Previous Message David Rowley 2021-08-03 00:26:13 pgsql: Allow ordered partition scans in more cases