Skip to content

Fix Citus CI: upgrade to PostgreSQL 17 + Citus 13.0#1301

Open
mrigger wants to merge 4 commits intomainfrom
fix-citus-ci
Open

Fix Citus CI: upgrade to PostgreSQL 17 + Citus 13.0#1301
mrigger wants to merge 4 commits intomainfrom
fix-citus-ci

Conversation

@mrigger
Copy link
Contributor

@mrigger mrigger commented Mar 26, 2026

ubuntu-latest is now Ubuntu 24.04 (Noble), which has no Citus packages. Patch citusdata_community.list to use jammy after the curl installer creates it, then re-run apt-get update before installing.

mrigger and others added 4 commits March 26, 2026 15:44
ubuntu-latest is now Ubuntu 24.04 (Noble), which has no Citus packages.
Patch citusdata_community.list to use jammy after the curl installer
creates it, then re-run apt-get update before installing.

Fixes: https://github.com/citusdata/citus/issues/7692

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
PostgreSQL 17 + Citus 13.0 system tables expose columns with OID alias
types (regnamespace, regrole, regtype, regproc, etc.) that were not
handled by getColumnType(), causing an AssertionError. Map them to TEXT
since they are textually representable, like the existing regclass entry.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
- CitusSchema.fromConnection now skips all tables/views starting with
  "citus_" (not just "citus_tables") to handle the citus_schemas view
  added in Citus 12.0, which was causing unexpected SQL errors when
  SQLancer tried to DELETE/ALTER it after the regnamespace fix exposed it
- Update columnar table index error string from the old (incorrect)
  "indexes not supported for columnar tables" to the actual Citus error
  "unsupported access method for the index on columnar table", and add
  "BRIN indexes on columnar tables are not supported"

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Two errors produced by Citus 13.0 were not in the expected errors list:
- "alter table command is currently unsupported": Citus restriction on
  certain ALTER TABLE operations (e.g., multi-subcommand ALTERs, type
  changes) on distributed tables
- "could not open relation with OID 0": occurs with columnar temporary
  tables (USING columnar ON COMMIT DROP), DISCARD TEMPORARY, and some
  INSERT operations when Citus cannot resolve the relation OID

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant