mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
pgindent run for 9.4
This includes removing tabs after periods in C comments, which was applied to back branches, so this change should not effect backpatching.
This commit is contained in:
@ -268,11 +268,11 @@ pgstatindex_impl(Relation rel, FunctionCallInfo fcinfo)
|
||||
values[j++] = psprintf("%d", indexStat.version);
|
||||
values[j++] = psprintf("%d", indexStat.level);
|
||||
values[j++] = psprintf(INT64_FORMAT,
|
||||
(indexStat.root_pages +
|
||||
indexStat.leaf_pages +
|
||||
indexStat.internal_pages +
|
||||
indexStat.deleted_pages +
|
||||
indexStat.empty_pages) * BLCKSZ);
|
||||
(indexStat.root_pages +
|
||||
indexStat.leaf_pages +
|
||||
indexStat.internal_pages +
|
||||
indexStat.deleted_pages +
|
||||
indexStat.empty_pages) * BLCKSZ);
|
||||
values[j++] = psprintf("%u", indexStat.root_blkno);
|
||||
values[j++] = psprintf(INT64_FORMAT, indexStat.internal_pages);
|
||||
values[j++] = psprintf(INT64_FORMAT, indexStat.leaf_pages);
|
||||
@ -280,12 +280,12 @@ pgstatindex_impl(Relation rel, FunctionCallInfo fcinfo)
|
||||
values[j++] = psprintf(INT64_FORMAT, indexStat.deleted_pages);
|
||||
if (indexStat.max_avail > 0)
|
||||
values[j++] = psprintf("%.2f",
|
||||
100.0 - (double) indexStat.free_space / (double) indexStat.max_avail * 100.0);
|
||||
100.0 - (double) indexStat.free_space / (double) indexStat.max_avail * 100.0);
|
||||
else
|
||||
values[j++] = pstrdup("NaN");
|
||||
if (indexStat.leaf_pages > 0)
|
||||
values[j++] = psprintf("%.2f",
|
||||
(double) indexStat.fragments / (double) indexStat.leaf_pages * 100.0);
|
||||
(double) indexStat.fragments / (double) indexStat.leaf_pages * 100.0);
|
||||
else
|
||||
values[j++] = pstrdup("NaN");
|
||||
|
||||
|
Reference in New Issue
Block a user