From 2bfbcea8d17fe1fc8d747b84ae5e82d08a14759a Mon Sep 17 00:00:00 2001
From: Lakshmi N <lakshmin.jhs@gmail.com>
Date: Tue, 14 Apr 2026 23:53:14 -0700
Subject: [PATCH] fix typos

---
 src/backend/commands/propgraphcmds.c    | 4 ++--
 src/backend/parser/parse_graphtable.c   | 2 +-
 src/backend/rewrite/rewriteGraphTable.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/backend/commands/propgraphcmds.c b/src/backend/commands/propgraphcmds.c
index 45d2ff1bbba..e94f3b0231e 100644
--- a/src/backend/commands/propgraphcmds.c
+++ b/src/backend/commands/propgraphcmds.c
@@ -414,7 +414,7 @@ propgraph_edge_get_ref_keys(ParseState *pstate, const List *keycols, const List
 			 * right operand. The method used to find the equality operators
 			 * is similar to the method used to find equality operators for
 			 * FK/PK comparison in ATAddForeignKeyConstraint() except that
-			 * opclass of the the vertex key type is used as a starting point.
+			 * opclass of the vertex key type is used as a starting point.
 			 * Since we need only equality operators we use both BT and HASH
 			 * strategies.
 			 *
@@ -1237,7 +1237,7 @@ check_element_label_properties(Oid ellabeloid)
 	table_close(rel, AccessShareLock);
 
 	/*
-	 * If there is not previous definition of this label, then we are done.
+	 * If there is no previous definition of this label, then we are done.
 	 */
 	if (!ref_ellabeloid)
 		return;
diff --git a/src/backend/parser/parse_graphtable.c b/src/backend/parser/parse_graphtable.c
index 30ddce5aa9f..78bc6d26ad1 100644
--- a/src/backend/parser/parse_graphtable.c
+++ b/src/backend/parser/parse_graphtable.c
@@ -366,7 +366,7 @@ transformPathPatternList(ParseState *pstate, List *path_pattern)
  * Transform a GraphPattern.
  *
  * A GraphPattern consists of a list of one or more path patterns and an
- * optional where clause. Transform them. We use the previously constructure
+ * optional where clause. Transform them. We use the previously constructed
  * list of variables in the GraphTableParseState to resolve property references
  * in the WHERE clause.
  */
diff --git a/src/backend/rewrite/rewriteGraphTable.c b/src/backend/rewrite/rewriteGraphTable.c
index 2c3199d3230..444afd0d042 100644
--- a/src/backend/rewrite/rewriteGraphTable.c
+++ b/src/backend/rewrite/rewriteGraphTable.c
@@ -500,7 +500,7 @@ generate_query_for_graph_path(RangeTblEntry *rte, List *graph_path)
 		 * rule 4) does not specify whose access privileges to use when
 		 * accessing the element tables: property graph owner's or current
 		 * user's. It is safer to use current user's privileges so as not to
-		 * make property graphs as a hole for unpriviledged data access. This
+		 * make property graphs as a hole for unprivileged data access. This
 		 * is inline with the views being security_invoker by default.
 		 */
 		rel = table_open(pe->reloid, AccessShareLock);
-- 
2.43.0

