doc: align column order with pg_stat_statements view
authorDaniel Gustafsson <[email protected]>
Wed, 15 Nov 2023 13:07:00 +0000 (14:07 +0100)
committerDaniel Gustafsson <[email protected]>
Wed, 15 Nov 2023 13:07:00 +0000 (14:07 +0100)
Commit 5a3423ad8e mistakenly didn't plac the new columns for JIT
deform counters at the end to match their placement in the view.
Fix by placing the new columns last to be consistent.

Author: Julien Rouhaud <[email protected]>
Discussion: https://postgr.es/m/fuhxmigipmodhq3bah5iddd2ksfinrva75wqjyg2g2e647p4v7@yev2gynrnr5f

doc/src/sgml/pgstatstatements.sgml

index 6c7ca962f817bac4d39ad58368172745b8b2c952..b66dc7fa30a0e53f7b75da654abe0a20fb0a5618 100644 (file)
 
      <row>
       <entry role="catalog_table_entry"><para role="column_definition">
-       <structfield>jit_deform_count</structfield> <type>bigint</type>
+       <structfield>jit_inlining_count</structfield> <type>bigint</type>
       </para>
       <para>
-       Total number of tuple deform functions JIT-compiled by the statement
+       Number of times functions have been inlined
       </para></entry>
      </row>
 
      <row>
       <entry role="catalog_table_entry"><para role="column_definition">
-       <structfield>jit_deform_time</structfield> <type>double precision</type>
+       <structfield>jit_inlining_time</structfield> <type>double precision</type>
       </para>
       <para>
-        Total time spent by the statement on JIT-compiling tuple deform
-        functions, in milliseconds
+       Total time spent by the statement on inlining functions, in milliseconds
       </para></entry>
      </row>
 
      <row>
       <entry role="catalog_table_entry"><para role="column_definition">
-       <structfield>jit_inlining_count</structfield> <type>bigint</type>
+       <structfield>jit_optimization_count</structfield> <type>bigint</type>
       </para>
       <para>
-       Number of times functions have been inlined
+       Number of times the statement has been optimized
       </para></entry>
      </row>
 
      <row>
       <entry role="catalog_table_entry"><para role="column_definition">
-       <structfield>jit_inlining_time</structfield> <type>double precision</type>
+       <structfield>jit_optimization_time</structfield> <type>double precision</type>
       </para>
       <para>
-       Total time spent by the statement on inlining functions, in milliseconds
+       Total time spent by the statement on optimizing, in milliseconds
       </para></entry>
      </row>
 
      <row>
       <entry role="catalog_table_entry"><para role="column_definition">
-       <structfield>jit_optimization_count</structfield> <type>bigint</type>
+       <structfield>jit_emission_count</structfield> <type>bigint</type>
       </para>
       <para>
-       Number of times the statement has been optimized
+       Number of times code has been emitted
       </para></entry>
      </row>
 
      <row>
       <entry role="catalog_table_entry"><para role="column_definition">
-       <structfield>jit_optimization_time</structfield> <type>double precision</type>
+       <structfield>jit_emission_time</structfield> <type>double precision</type>
       </para>
       <para>
-       Total time spent by the statement on optimizing, in milliseconds
+       Total time spent by the statement on emitting code, in milliseconds
       </para></entry>
      </row>
 
      <row>
       <entry role="catalog_table_entry"><para role="column_definition">
-       <structfield>jit_emission_count</structfield> <type>bigint</type>
+       <structfield>jit_deform_count</structfield> <type>bigint</type>
       </para>
       <para>
-       Number of times code has been emitted
+       Total number of tuple deform functions JIT-compiled by the statement
       </para></entry>
      </row>
 
      <row>
       <entry role="catalog_table_entry"><para role="column_definition">
-       <structfield>jit_emission_time</structfield> <type>double precision</type>
+       <structfield>jit_deform_time</structfield> <type>double precision</type>
       </para>
       <para>
-       Total time spent by the statement on emitting code, in milliseconds
+       Total time spent by the statement on JIT-compiling tuple deform
+       functions, in milliseconds
       </para></entry>
      </row>
     </tbody>