FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(postgres): INSERT must omit GENERATED ALWAYS columns and use DEFAULT for empties · Issue #792 · QueryaHub/Querya-Desktop · GitHub

fix(postgres): INSERT must omit GENERATED ALWAYS columns and use DEFAULT for empties #792

Description

Summary

TableMutationEngine INSERT lists every grid column. GENERATED ALWAYS AS IDENTITY and generated columns reject the statement. Empty integer cells become '', not DEFAULT / omitted.

Scope

  • Skip columns that are GENERATED ALWAYS / identity always (needs schema flags beyond column_default).
  • Empty / NULL-sentinel cells: omit the column or emit DEFAULT when the column has a default / serial.
  • Tests: GENERATED ALWAYS AS IDENTITY insert of a new row without sending id.

Out of scope

  • MySQL AUTO_INCREMENT (same engine — OK to fix together if flags exist).

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

    Labels

    backendBackend database driver execution and queriesbugSomething isn't workingdata-gridInteractive data grid, cell editor, filtering, groupings

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL