diff --git a/lightrag/kg/postgres_impl.py b/lightrag/kg/postgres_impl.py index 54722eb0..fb11b31c 100644 --- a/lightrag/kg/postgres_impl.py +++ b/lightrag/kg/postgres_impl.py @@ -1463,12 +1463,14 @@ class PGGraphStorage(BaseGraphStorage): MATCH (target:base {entity_id: "%s"}) MERGE (source)-[r:DIRECTED]-(target) SET r += %s + SET r += %s RETURN r $$) AS (r agtype)""" % ( self.graph_name, src_label, tgt_label, edge_properties, + edge_properties, # https://github.com/HKUDS/LightRAG/issues/1438#issuecomment-2826000195 ) try: