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

schemawatch: Improved PK query. #103

Merged
merged 1 commit into from
Mar 16, 2022
Merged

schemawatch: Improved PK query. #103

merged 1 commit into from
Mar 16, 2022

Conversation

bobvawter
Copy link
Member

@bobvawter bobvawter commented Mar 15, 2022

This change makes the schema query work properly in cases where the primary key
constraint isn't named "primary". It also adds some additional test cases to
ensure that the revised query works correctly when there are secondary indexes
on the table.


This change is Reviewable

This change makes the schema query work properly in cases where the primary key
constraint isn't named "primary". It also adds some additional test cases to
ensure that the revised query works correctly when there are secondary indexes
on the table.
@codecov-commenter
Copy link

codecov-commenter commented Mar 15, 2022

Codecov Report

Merging #103 (e4c62d7) into master (b70fd0e) will increase coverage by 0.23%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
+ Coverage   67.77%   68.00%   +0.23%     
==========================================
  Files          40       40              
  Lines        2557     2557              
==========================================
+ Hits         1733     1739       +6     
+ Misses        673      668       -5     
+ Partials      151      150       -1     
Impacted Files Coverage Δ
internal/target/schemawatch/coldata.go 65.62% <ø> (ø)
internal/source/pglogical/conn.go 69.02% <0.00%> (+0.83%) ⬆️
internal/target/sinktest/table_info.go 83.33% <0.00%> (+4.76%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b70fd0e...e4c62d7. Read the comment docs.

Copy link
Contributor

@sravotto sravotto left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1.
Reviewable status: all files reviewed (commit messages unreviewed), all discussions resolved (waiting on @BramGruneir)

Copy link
Contributor

@sravotto sravotto left a comment

Choose a reason for hiding this comment

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

approved.

Reviewable status: all files reviewed (commit messages unreviewed), all discussions resolved (waiting on @BramGruneir)

Copy link
Member

@BramGruneir BramGruneir left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @bobvawter)

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.

4 participants