pgsql: Rename register_unlink_segment() to register_unlink_tombstone() - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Rename register_unlink_segment() to register_unlink_tombstone()
Date
Msg-id E1wh9Hp-0001d0-2h@gemulon.postgresql.org
Whole thread
List pgsql-committers
Rename register_unlink_segment() to register_unlink_tombstone()

Only "tombstone" files (first segment of main fork) are unlinked after
checkpoints, so rename the function and remove the extra arguments to
make that more clear.

Additionally, add an assertion in mdunlinkfiletag() that the FileTag
only contains expected values.

Author: Matthias van de Meent <boekewurm+postgres@gmail.com>
Reviewed-by: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://www.postgresql.org/message-id/CAEze2WjfP95SL_Hsu7GzYXLnQyEsT49zOnNvbY_mBLCFiQra1g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/650bb73c137ccdea3a502775e08482731cc799ba

Modified Files
--------------
src/backend/storage/smgr/md.c | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: libpq: Drain all pending bytes from SSL/GSS during pqReadData()
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Cleanup comments/docs around the new shmem request callbacks