Mats Kindahl: Building a Table Access Method, Part 6: TRUNCATE
In the previous two posts you could see how to manage storage for create and drop and also to work with transactions. In this post you’ll learn how to handle TRUNCATE, which replaces the arena of a table with a new one. Doing that safely means choosing which arena to release based on how the…
Sources
- T2Mats Kindahl: Building a Table Access Method, Part 6: TRUNCATEPlanet PostgreSQL