forked from apache/age
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Issue 1709 - MERGE creates incomplete vertices after the first one (
apache#1721) Fixed issue 1709 where MERGE appears to create incomplete vertices after the first one. However, the real issue was that SET wasn't seeing the newly created tuples from MERGE. This was due to an incorrect cid when performing the tuple insert in MERGE. The issue was that the cid was being overwritten in the function insert_entity_tuple_cid. Once this was corrected, everything worked fine. Added regression tests. Resolved Conflicts: src/backend/executor/cypher_utils.c NOTE: This patch has a regression test that is incorrect, noted in regress/sql/cypher_merge.sql under the issue. This issue needs to be looked into, but PG11 is basically not supported anymore. So, the PR was added as it does fix other issues with MERGE, just not this one particular one.
- Loading branch information
1 parent
8b9450c
commit f7fce68
Showing
2 changed files
with
185 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters