Fix brown paper bag bug in 5c47c6546c413d5eb51c1626070a807026e6139d.

Robert Haas <rhaas@postgresql.org>

Commit: 47f01d727e3a271bbff7d2f9db838e81d27bd495
Author: Robert Haas <rhaas@postgresql.org>
Date: 2023-12-19T20:00:23Z
Releases: 17.0
Fix brown paper bag bug in 5c47c6546c413d5eb51c1626070a807026e6139d.

The previous logic failed to work for anything other than the first
segment of a relation.

Report by Jakub Wartak. Patch by me.

Discussion: http://postgr.es/m/CAKZiRmwd3KTNMQhm9Bv4oR_1uMehXroO6kGyJQkiw9DfM8cMwQ@mail.gmail.com

Files

PathChange+/−
src/backend/storage/file/reinit.c modified +1 −1

Discussion