pgindent
authorRobert Haas <rhaas@postgresql.org>
Fri, 27 Jun 2025 14:24:19 +0000 (10:24 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 27 Jun 2025 14:24:19 +0000 (10:24 -0400)
contrib/pg_plan_advice/pgpa_output.c

index 60f8883abc307ff7ee81d40eb56e17d4e1530b31..2c101090a6b5693ea82452e49f59e4ae2b6b7345 100644 (file)
@@ -40,7 +40,7 @@ pgpa_output_advice(StringInfo buf, pgpa_plan_walker_context *walker,
                                   const char **rt_identifiers)
 {
        ListCell   *lc;
-       pgpa_output_context     context;
+       pgpa_output_context context;
 
        context.rt_identifiers = rt_identifiers;
        context.buf = buf;
@@ -244,9 +244,9 @@ pgpa_cstring_join_strategy(pgpa_join_strategy strategy)
 static void
 pgpa_maybe_linebreak(StringInfo buf, int wrap_column)
 {
-       char   *trailing_nl;
-       int             line_start;
-       int             save_cursor;
+       char       *trailing_nl;
+       int                     line_start;
+       int                     save_cursor;
 
        /* If line wrapping is disabled, exit quickly. */
        if (wrap_column <= 0)
@@ -265,8 +265,8 @@ pgpa_maybe_linebreak(StringInfo buf, int wrap_column)
                line_start = (trailing_nl - buf->data) + 1;
 
        /*
-        * Remember that the current end of the buffer is a potential location
-        * to insert a line break on a future call to this function.
+        * Remember that the current end of the buffer is a potential location to
+        * insert a line break on a future call to this function.
         */
        save_cursor = buf->cursor;
        buf->cursor = buf->len;