From fdf53c1588ccb19c82946f2ca9e23d2464c1fc4b Mon Sep 17 00:00:00 2001
From: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Date: Tue, 1 Sep 2026 12:11:08 +0530
Subject: [PATCH v20260901 1/4] Clarify the testcase intent in
 create_property_graph.sql

The testcase creating the property graph g5 intends to test edge and
table key inference from primary and foreign key constraints. The intent
may not be clear from the DDL alone. Add a comment clarifying the
intent.

Author: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
---
 src/test/regress/expected/create_property_graph.out | 1 +
 src/test/regress/sql/create_property_graph.sql      | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/test/regress/expected/create_property_graph.out b/src/test/regress/expected/create_property_graph.out
index 5bbd6477ed6..a2619817971 100644
--- a/src/test/regress/expected/create_property_graph.out
+++ b/src/test/regress/expected/create_property_graph.out
@@ -97,6 +97,7 @@ ERROR:  property graph "g4" element "t2" label "t2" has no property "yy"
 -- because it remains associated with t3l1.  We will verify this in the
 -- information schema queries outputs below.
 ALTER PROPERTY GRAPH g4 ALTER VERTEX TABLE t3 DROP LABEL t3l2;
+-- edge and vertex table key inference from primary and foreign key constraints.
 CREATE TABLE t11 (a int PRIMARY KEY);
 CREATE TABLE t12 (b int PRIMARY KEY);
 CREATE TABLE t13 (
diff --git a/src/test/regress/sql/create_property_graph.sql b/src/test/regress/sql/create_property_graph.sql
index 2b8269d66ec..e28bea1fd4a 100644
--- a/src/test/regress/sql/create_property_graph.sql
+++ b/src/test/regress/sql/create_property_graph.sql
@@ -88,6 +88,7 @@ ALTER PROPERTY GRAPH g4 ALTER VERTEX TABLE t2 ALTER LABEL t2 DROP PROPERTIES (yy
 -- information schema queries outputs below.
 ALTER PROPERTY GRAPH g4 ALTER VERTEX TABLE t3 DROP LABEL t3l2;
 
+-- edge and vertex table key inference from primary and foreign key constraints.
 CREATE TABLE t11 (a int PRIMARY KEY);
 CREATE TABLE t12 (b int PRIMARY KEY);
 CREATE TABLE t13 (

base-commit: 8e483af5515ec4ee90d17a3864f5bb764e4e9c47
-- 
2.34.1

