mirror of
https://github.com/postgres/postgres.git
synced 2026-06-03 22:34:54 -04:00
cab9a0656c
or previously truncated in the current (sub)transaction. This is safe since if the (sub)transaction later rolls back, we'd just discard the rel's current physical file anyway. This avoids unreasonable growth in the number of transient files when a relation is repeatedly truncated. Per a performance gripe a couple weeks ago from Todd Cook.