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?
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 atriver/riverdriver/riverpgxv5/internal/dbsqlc/river_job.sql
Line 321 in 7ac5a2c
It seems a workaround is already in place for SQLite, could it be possible to expose it through an option or something similar?