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 #1349

Merged
merged 1 commit into from
Nov 3, 2023

Commits on Nov 3, 2023

  1. Fix issue apache#1347 - unknow type of agtype container 0

    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 <jrgemignani@gmail.com>
    rafsun42 and jrgemignani committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    05d8314 View commit details
    Browse the repository at this point in the history