From cda5afe7964245b67b04f6247a64d5048972d700 Mon Sep 17 00:00:00 2001
From: Peter Smith <peter.b.smith@fujitsu.com>
Date: Tue, 4 Aug 2026 14:55:05 +1000
Subject: [PATCH v1] tab-complete for DROP PROPERTY GRAPH

---
 src/bin/psql/tab-complete.in.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/psql/tab-complete.in.c b/src/bin/psql/tab-complete.in.c
index 17dcabe755f..190fff7ea0e 100644
--- a/src/bin/psql/tab-complete.in.c
+++ b/src/bin/psql/tab-complete.in.c
@@ -4482,6 +4482,8 @@ match_previous_words(int pattern_id,
 		COMPLETE_WITH("GRAPH");
 	else if (Matches("DROP", "PROPERTY", "GRAPH"))
 		COMPLETE_WITH_SCHEMA_QUERY(Query_for_list_of_propgraphs);
+	else if (Matches("DROP", "PROPERTY", "GRAPH", MatchAny))
+		COMPLETE_WITH("CASCADE", "RESTRICT");
 
 	/* DROP RULE */
 	else if (Matches("DROP", "RULE", MatchAny))
-- 
2.47.3

