summaryrefslogtreecommitdiff
path: root/src/backend/access/heap/pruneheap.c
diff options
context:
space:
mode:
authorMelanie Plageman <melanieplageman@gmail.com>2025-11-20 17:36:40 -0500
committerMelanie Plageman <melanieplageman@gmail.com>2025-11-20 17:36:40 -0500
commit1e14edcea5e1a122d4bf76d30fc963715e4dfe5e (patch)
tree00a7136f5c4321e78a00de954dcd89234cca6ae6 /src/backend/access/heap/pruneheap.c
parent5d4dc112c7c6c10be739d61e8be012f20e9fdbbf (diff)
Split PruneFreezeParams initializers to one field per line
This conforms more closely with the style of other struct initializers in the code base. Initializing multiple fields on a single line is unpopular in part because pgindent won't permit a space after the comma before the next field's period. Author: Melanie Plageman <melanieplageman@gmail.com> Reported-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> Discussion: https://postgr.es/m/87see87fnq.fsf%40wibble.ilmari.org
Diffstat (limited to 'src/backend/access/heap/pruneheap.c')
-rw-r--r--src/backend/access/heap/pruneheap.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/backend/access/heap/pruneheap.c b/src/backend/access/heap/pruneheap.c
index 1850476dcd8..0d6311088ea 100644
--- a/src/backend/access/heap/pruneheap.c
+++ b/src/backend/access/heap/pruneheap.c
@@ -269,9 +269,13 @@ heap_page_prune_opt(Relation relation, Buffer buffer)
* cannot safely determine that during on-access pruning with the
* current implementation.
*/
- PruneFreezeParams params = {.relation = relation,.buffer = buffer,
- .reason = PRUNE_ON_ACCESS,.options = 0,
- .vistest = vistest,.cutoffs = NULL
+ PruneFreezeParams params = {
+ .relation = relation,
+ .buffer = buffer,
+ .reason = PRUNE_ON_ACCESS,
+ .options = 0,
+ .vistest = vistest,
+ .cutoffs = NULL,
};
heap_page_prune_and_freeze(&params, &presult, &dummy_off_loc,