pgsql: Correct "improve role option documentation".

2024-04-13 Thread Noah Misch
Correct "improve role option documentation". This corrects doc commit 21912e3c0262e2cfe64856e028799d6927862563. Back-patch to v16, like that one. Reviewed by David G. Johnston. Discussion: https://postgr.es/m/20240331061642...@rfd.leadboat.com Branch -- REL_16_STABLE Details ---

pgsql: Correct "improve role option documentation".

2024-04-13 Thread Noah Misch
Correct "improve role option documentation". This corrects doc commit 21912e3c0262e2cfe64856e028799d6927862563. Back-patch to v16, like that one. Reviewed by David G. Johnston. Discussion: https://postgr.es/m/20240331061642...@rfd.leadboat.com Branch -- master Details ---

pgsql: freespace: Don't return blocks past the end of the main fork.

2024-04-13 Thread Noah Misch
freespace: Don't return blocks past the end of the main fork. GetPageWithFreeSpace() callers assume the returned block exists in the main fork, failing with "could not read block" errors if that doesn't hold. Make that assumption reliable now. It hadn't been guaranteed, due to the weak WAL and

pgsql: freespace: Don't return blocks past the end of the main fork.

2024-04-13 Thread Noah Misch
freespace: Don't return blocks past the end of the main fork. GetPageWithFreeSpace() callers assume the returned block exists in the main fork, failing with "could not read block" errors if that doesn't hold. Make that assumption reliable now. It hadn't been guaranteed, due to the weak WAL and

pgsql: freespace: Don't return blocks past the end of the main fork.

2024-04-13 Thread Noah Misch
freespace: Don't return blocks past the end of the main fork. GetPageWithFreeSpace() callers assume the returned block exists in the main fork, failing with "could not read block" errors if that doesn't hold. Make that assumption reliable now. It hadn't been guaranteed, due to the weak WAL and

pgsql: freespace: Don't return blocks past the end of the main fork.

2024-04-13 Thread Noah Misch
freespace: Don't return blocks past the end of the main fork. GetPageWithFreeSpace() callers assume the returned block exists in the main fork, failing with "could not read block" errors if that doesn't hold. Make that assumption reliable now. It hadn't been guaranteed, due to the weak WAL and