mirror of
https://github.com/postgres/postgres.git
synced 2025-12-12 00:04:53 -05:00
previously determined not to be the last segment of a relation. This reduces the expected cost to one seek, rather than one seek per segment. We can get away with this because truncation of a relation will cause a relcache flush and so the md.c file descriptor will be closed; when it is re-opened we will re-determine the last segment.