Skip to content

add port to config #32

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

add port to config #32

wants to merge 2 commits into from

Conversation

ezeql
Copy link

@ezeql ezeql commented Jun 19, 2025

Add port setting to DSN to allow using other than default 5432

@3n0ugh
Copy link
Contributor

3n0ugh commented Jun 19, 2025

Thank you for the contribution 🙏🏻 I'll review it shortly and get back to you soon!

@3n0ugh
Copy link
Contributor

3n0ugh commented Jun 19, 2025

could you please run the integration tests? Some are failing because newPostgresConn() function doesn’t set the port or doesn’t call setDefault(). 🙏🏻

Copy link
Member

@Abdulsametileri Abdulsametileri left a comment

Choose a reason for hiding this comment

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

LGTM

@ezeql
Copy link
Author

ezeql commented Jun 24, 2025

@3n0ugh please try again!

@ezeql
Copy link
Author

ezeql commented Jul 1, 2025

bump @Abdulsametileri :)

@Abdulsametileri
Copy link
Member

Thank you @ezeql <3

The integration test is okay, but now, in the build stage, we have a lint error. Could you fix it?

fieldalignment -fix ./...
Error: /home/runner/work/go-pq-cdc/go-pq-cdc/config/config.go:15:13: struct with 176 pointer bytes could be 168
make: *** [Makefile:49: lint] Error 3
Error: Process completed with exit code 2.

@Edgaras-Randis
Copy link

any updates towards this?

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