-
Notifications
You must be signed in to change notification settings - Fork 686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PG16RC1 Support - SQL changes, new features #7138
Labels
Comments
This was referenced Aug 23, 2023
This was referenced Sep 4, 2023
naisila
changed the title
PG16Beta3 Support - SQL changes, new features
PG16RC1 Support - SQL changes, new features
Sep 5, 2023
This was referenced Sep 6, 2023
@francisjodi is working on propagating GRANT WITH SET/INHERIT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Introduction
#6952 introduced PG16Beta3 compatibility with Citus's current features and regression tests by fixing #7017.
This issue tracks how Citus will handle PostgreSQL 16's SQL changes and new features. Resources that we used are the following:
Note: There is currently no priority order in the subtasks of this issue.
Features to support in Citus
We plan to support the following new options:
PG16 - Add rules option to CREATE COLLATION #7185
PG16 - Add citus_truncate_trigger for Citus foreign tables #7170
PG16 - Add GENERIC_PLAN option to EXPLAIN #7141
EDIT: generic plan is not supported 0a6adf4
PG16 compatibility - new options to vacuum and analyze #7114
PG16 compatibility - new options to vacuum and analyze #7114
PG16 compatibility - new options to vacuum and analyze #7114
Add regression tests or just test locally
Most of PG16's new additions simply work with Citus. However, we add tests for some of them to ensure consistency and maintainability for the future. For some other additions, testing locally is sufficient.
Add tests with JSON_ARRAYAGG and JSON_OBJECTAGG aggregates #7186
Add tests with publications with schema and table of the same schema #7184
PG16 - Add tests with random_normal #7183
Works with our partially supported CREATE DATABASE for distributed databases
PG16 - Add tests for createdb with ICU_RULES option #7161
database name no longer mandatory
These commands are already not manually propagated. When propagated with run_command_on_workers, they work fine.
PG16 - Add reindex database/system tests #7167
Already supported in Citus, adding some tests
PG16 - Add COPY FROM default tests #7143
Already supported in Citus, adding some tests
Add tests for CREATE/ALTER TABLE .. STORAGE in PG16 #7140
Nothing to do here, the default value works for our implementation.
Future work PG16 - no need for multiple replication slots for security #7171
Nothing to do here, the default value works for our implementation.
Nothing to do here that is PG16 specific. See ALTER DEFAULT PRIVILEGES is not propagated, also doesn't error out #7144
PG16 - IS JSON predicate and SYSTEM_USER tests #7137
PG16 - IS JSON predicate and SYSTEM_USER tests #7137
tested locally, it's about datetime types accepting certain inputs, no table tests added by PG
tested locally
tested locally
Meaningful error messages for currently unsupported features
For now, we will not provide support for the following, but we will print error messages with possible hints/workarounds for the user:
PG16 - Don't propagate GRANT ROLE with INHERIT/SET option #7190
PG16 - Don't propagate GRANT ROLE with INHERIT/SET option #7190
COPY FROM is already not supported for Citus foreign tables
Adds test for COPY FROM failure in Citus foreign tables #7160
Already changing storage is not supported and errors out, adding some tests
Add tests for CREATE/ALTER TABLE .. STORAGE in PG16 #7140
PG16 - Throw meaningful error for stats without a name on Citus tables #7136
The text was updated successfully, but these errors were encountered: