OpenGauss is based on PostgreSQL 9.2 and does not support WITH ORDINALITY (PG 9.4+). When the native pg_get_tabledef() path fails, the fallback DDL builder calls list_indexes() which previously only had two SQL variants, both using WITH ORDINALITY — causing "syntax error at or near 'WITH'" on OpenGauss. Add POSTGRES_INDEXES_OPENGAUSS_SQL as a third fallback that uses generate_series and array_length instead, both available since PG 8.0. |
||
|---|---|---|
| .. | ||
| assets | ||
| src | ||
| tests | ||
| Cargo.toml | ||