Skip to content
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

PG16 - Add tests for createdb with ICU_RULES option #7161

Merged
merged 2 commits into from
Sep 4, 2023

Conversation

naisila
Copy link
Member

@naisila naisila commented Aug 29, 2023

When we create a database, it already needs to be manually created in the workers as well.
This new icu_rules option should work as the other options as well. Added a test for that.

Relevant PG commit:
postgres/postgres@30a53b7

#7138

@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Merging #7161 (63338de) into main (9fd4ef0) will decrease coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #7161      +/-   ##
==========================================
- Coverage   93.21%   93.05%   -0.16%     
==========================================
  Files         274      274              
  Lines       59235    59234       -1     
==========================================
- Hits        55213    55120      -93     
- Misses       4022     4114      +92     

Copy link
Member

@onderkalaci onderkalaci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this test even if we do not propagate (right now). When we propagate CREATE DATABASE this test should remind the authors to properly deparse these.

CREATE EXTENSION citus;
\c - - - :worker_2_port
CREATE EXTENSION citus;
\c - - - :master_port
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's use citus_add_node as we might get rid of the master_ ones at some poing

When we create a database, it already needs to be manually created
in the workers as well.
This new icu_rules option should work as the other options as well.
Added a test for that.

Relevant PG commit:
postgres/postgres@30a53b7
@naisila naisila merged commit cf71e80 into main Sep 4, 2023
36 checks passed
@naisila naisila deleted the naisila/pg16_createdb branch September 4, 2023 08:13
francisjodi pushed a commit that referenced this pull request Nov 13, 2023
When we create a database, it already needs to be manually created in
the workers as well.
This new icu_rules option should work as the other options as well.
Added a test for that.

Relevant PG commit:
postgres/postgres@30a53b7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants