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

PostgresUserPasswordProfileMapping have hardcoded port #573

Closed
farovictor opened this issue Oct 2, 2023 · 1 comment
Closed

PostgresUserPasswordProfileMapping have hardcoded port #573

farovictor opened this issue Oct 2, 2023 · 1 comment

Comments

@farovictor
Copy link

farovictor commented Oct 2, 2023

In cosmos/profiles/postgres/user_pass.py we have a profile property with a hardcoded port.

profile property

        profile = {
            "port": 5432, # hardcoded port
            **self.mapped_params,
            **self.profile_args,
            # password should always get set as env var
            "password": self.get_env_var_format("password"),
        }

The port should be retrieved from the connection.

@farovictor
Copy link
Author

Already addressed and fixed: #511

Thanks for your support @tatiana

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 a pull request may close this issue.

1 participant