Fix a few more duplicate words in comments
authorDavid Rowley <drowley@postgresql.org>
Mon, 21 Apr 2025 01:50:50 +0000 (13:50 +1200)
committerDavid Rowley <drowley@postgresql.org>
Mon, 21 Apr 2025 01:50:50 +0000 (13:50 +1200)
Similar to 84fd3bc14 but these ones were found using a regex that can span
multiple lines.

Author: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/CAApHDvrMcr8XD107H3NV=WHgyBcu=sx5+7=WArr-n_cWUqdFXQ@mail.gmail.com

src/backend/storage/buffer/freelist.c
src/backend/utils/adt/ruleutils.c
src/interfaces/libpq/fe-connect.c

index e1f8e5e97bd271abec56e0d1b4c08ce77774aa71..01909be02725874ee81a464cd6c515ff490d5d89 100644 (file)
@@ -583,8 +583,8 @@ GetAccessStrategy(BufferAccessStrategyType btype)
 
                /*
                 * We would like the ring to additionally have space for the
-                * the configured degree of IO concurrency. While being read
-                * in, buffers can obviously not yet be reused.
+                * configured degree of IO concurrency. While being read in,
+                * buffers can obviously not yet be reused.
                 *
                 * Each IO can be up to io_combine_limit blocks large, and we
                 * want to start up to effective_io_concurrency IOs.
index 9e90acedb919737dcf58bc34d0b0e994e9f4d1df..467b08198b83237cdf9ebbf2f67935a50a0b1748 100644 (file)
@@ -12122,7 +12122,7 @@ get_json_table_columns(TableFunc *tf, JsonTablePathScan *scan,
 
        /*
         * Set default_behavior to guide get_json_expr_options() on whether to
-        * to emit the ON ERROR / EMPTY clauses.
+        * emit the ON ERROR / EMPTY clauses.
         */
        if (colexpr->op == JSON_EXISTS_OP)
        {
index e08b344276fcdb28bd1bf2a536ec7621e747dca4..bd51e6115cf97d9c0264807aada8b064c7ab8939 100644 (file)
@@ -1833,7 +1833,7 @@ pqConnectOptions2(PGconn *conn)
         * sslmode='allow' or sslmode='disable' either. If a user goes through
         * the trouble of setting sslnegotiation='direct', they probably
         * intend to use SSL, and sslmode=disable or allow is probably a user
-        * user mistake anyway.
+        * mistake anyway.
         */
        if (conn->sslnegotiation[0] == 'd' &&
            conn->sslmode[0] != 'r' && conn->sslmode[0] != 'v')