summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/storage/buffer/freelist.c4
-rw-r--r--src/backend/utils/adt/ruleutils.c2
-rw-r--r--src/interfaces/libpq/fe-connect.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/storage/buffer/freelist.c b/src/backend/storage/buffer/freelist.c
index e1f8e5e97bd..01909be0272 100644
--- a/src/backend/storage/buffer/freelist.c
+++ b/src/backend/storage/buffer/freelist.c
@@ -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.
diff --git a/src/backend/utils/adt/ruleutils.c b/src/backend/utils/adt/ruleutils.c
index 9e90acedb91..467b08198b8 100644
--- a/src/backend/utils/adt/ruleutils.c
+++ b/src/backend/utils/adt/ruleutils.c
@@ -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)
{
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c
index e08b344276f..bd51e6115cf 100644
--- a/src/interfaces/libpq/fe-connect.c
+++ b/src/interfaces/libpq/fe-connect.c
@@ -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')