Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

No password in making database connection #50

@William1104

Description

@William1104

Dear Sir,

connStr := fmt.Sprintf("postgres://%s@%s:%d/%s?sslmode=disable", dbconn.User, dbconn.Host, dbconn.Port, dbconn.DBName)

It seems that we cannot provide any password for making database connection. If we secure greenplum database by disabling all 'trust' and 'ident' authentication method in 'pg_hba.conf' configuration, how may we use tools like gpbackup and gprestore (which depending on this gp-common-go-libs) ?

Thanks and regards,
William

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @William1104

        Issue actions

          No password in making database connection · Issue #50 · greenplum-db/gp-common-go-libs