Skip to content

What PGPASS_FILE should be set to? #9866

@ratijas

Description

@ratijas

Documentation for PGPASS_FILE says:

Default: <null> This varible should be set to if you want to pass password using pgpass file for the servers added in pgadmin.

Besides the "varible" typo, what should it be set to? To whatever anything like PGADMIN_DISABLE_POSTFIX, or to a file path like PGADMIN_SERVER_JSON_FILE?

And if to a file path, then why is it not defaulting to ~/.pgpass like the original psql does?

What's even the HOME ~ inside the container? I checked it, and apparently

  • current directory is /pgadmin4,
  • user is pgadmin
  • $HOME points to /home/pgadmin, but even /home does not exist.

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

    Issue actions