Skip to content

Inserts through updatable result sets should report generated values (ids, default values, etc) #863

Description

@mrotteveel

Currently, inserts through updatable result sets simply store the row value sent to the server to report when the result set requests that row. This can mean it does not have generated values (ids, default values, etc.), and instead reports null for those columns.

To be able to get the generated values, we'd need to use the generated-keys facility and/or explicitly use RETURNING to populate (or complete) the row with the server-side values.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions