mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files. This set of diffs is a bit larger than typical. We've updated to pg_bsd_indent 2.1.2, which properly indents variable declarations that have multi-line initialization expressions (the continuation lines are now indented one tab stop). We've also updated to perltidy version 20230309 and changed some of its settings, which reduces its desire to add whitespace to lines to make assignments etc. line up. Going forward, that should make for fewer random-seeming changes to existing code. Discussion: https://postgr.es/m/20230428092545.qfb3y5wcu4cm75ur@alvherre.pgsql
This commit is contained in:
@@ -1438,8 +1438,8 @@ tuplesort_performsort(Tuplesortstate *state)
|
||||
/*
|
||||
* We were able to accumulate all the tuples required for output
|
||||
* in memory, using a heap to eliminate excess tuples. Now we
|
||||
* have to transform the heap to a properly-sorted array.
|
||||
* Note that sort_bounded_heap sets the correct state->status.
|
||||
* have to transform the heap to a properly-sorted array. Note
|
||||
* that sort_bounded_heap sets the correct state->status.
|
||||
*/
|
||||
sort_bounded_heap(state);
|
||||
state->current = 0;
|
||||
|
||||
Reference in New Issue
Block a user