Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue #1347 - unknow type of agtype container 0 #1353

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

rafsun42
Copy link
Member

@rafsun42 rafsun42 commented Nov 3, 2023

The error was caused by the Datum referenced by
edge_entry->edge_properties becoming non-persistent. As a result, the pointer becomes dangling. This issue is fixed by making a copy of the Datum into the MemoryContext it is used. The fix is also applied to
vertex_entry->vertex_properties.

Thanks to John for finding out the correct function to copy a Datum.

The error was caused by the Datum referenced by
edge_entry->edge_properties becoming non-persistent. As a
result, the pointer becomes dangling. This issue is fixed
by making a copy of the Datum into the MemoryContext it is
used. The fix is also applied to
vertex_entry->vertex_properties.

Thanks to John for finding out the correct function to
copy a Datum.

Co-authored-by: John Gemignani <[email protected]>
@github-actions github-actions bot added the PG11 PostgreSQL11 label Nov 3, 2023
@jrgemignani jrgemignani merged commit 13de737 into apache:PG11 Nov 3, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PG11 PostgreSQL11
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants