forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit638cf09
committed
Handle 5-char filenames in SlruScanDirectory
Original users of slru.c were all producing 4-digit filenames, so thatwas all that that code was prepared to handle. Changes to multixact.cin the course of commit0ac5ad5 made pg_multixact/members create5-digit filenames once a certain threshold was reached, whichSlruScanDirectory wasn't prepared to deal with; in particular,5-digit-name files were not removed during truncation. Change thatroutine to make it aware of those files, and have it process them justlike any others.Right now, some pg_multixact/members directories will contain a mixtureof 4-char and 5-char filenames. A future commit is expected fix thingsso that each slru.c user declares the correct maximum width for thefiles it produces, to avoid such unsightly mixtures.Noticed while investigating bug #8673 reported by Serge Negodyuck.1 parenta50d976 commit638cf09
1 file changed
+6
-2
lines changedLines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1293 | 1293 |
| |
1294 | 1294 |
| |
1295 | 1295 |
| |
1296 |
| - | |
1297 |
| - | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
1298 | 1302 |
| |
1299 | 1303 |
| |
1300 | 1304 |
| |
|
0 commit comments
Comments
(0)