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

Fix NULL connection string in: pgcopydb list schema. #369

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

dimitri
Copy link
Owner

@dimitri dimitri commented Jul 5, 2023

The list command does not use a --target connection string, so we skip preparing the target catalogs in that case. In passing, also fix a strange way that PQgetisnull() was done for sequences, as the misleading error meant this code got a free round of review.

The list command does not use a --target connection string, so we skip
preparing the target catalogs in that case. In passing, also fix a strange
way that PQgetisnull() was done for sequences, as the misleading error meant
this code got a free round of review.
@dimitri dimitri merged commit 2949803 into main Jul 5, 2023
15 checks passed
@dimitri dimitri deleted the fix/null-pointer-exception-preparing-target-catalog branch July 5, 2023 19:51
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