Skip to content

Yugabyte compatibility issues when inserting new tasks #1346

Description

@jqueuniet

We're investigating a migration from PostgreSQL to Yugabyte (a PostgreSQL-compatible distributed database re-using the PostgreSQL querier) and running into compatibility issues with the xmax column used during upserts, that is currently unsupported (see https://docs.yugabyte.com/stable/yugabyte-voyager/known-issues/postgresql/#system-columns-is-not-yet-supported and yugabyte/yugabyte-db#24843 ).

Exact symptoms are the following error at each task insertion: ERROR: system column "xmax" is not supported yet (SQLSTATE 0A000) . Root cause seems to be the SQL statement at

RETURNING sqlc.embed(river_job), (xmax != 0) AS unique_skipped_as_duplicate;

It seems a workaround is already in place for SQLite, could it be possible to expose it through an option or something similar?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions