这是indexloc提供的服务,不要输入任何密码
Skip to content

Import Export feature not working when using passfile  #6165

@Kevapo

Description

@Kevapo

Describe the bug
When using passfile in docker image (or a linux installation), the import Export feature is crashing due to "no password supplied" error

To Reproduce
0. Use docker version of pgadmin (easier to reproduce, but work on other linux installations)
0. Setup a user with https://www.postgresql.org/docs/current/libpq-pgpass.html

  1. Connect with this user and Select a table
  2. Click on "import/Export", and select export (with any encoding)
  3. Go to process Watcher, there you can see the error fe_sendauth: no password supplied

Expected behavior
The export should work correctly by using the passfile for the user.

Error message
psql: error: connection to server at "xxxxxxxxxx" (xx.xx.xx.xx), port xxxx failed: fe_sendauth: no password supplied

Screenshots
ErrorNopwd
passfileconfig2
passfileconfig1

Server:

  • OS: Linux, Docker image : dpage/pgadmin4
  • Version: 6.21; 7.0
  • Mode: Server
  • Browser : Chrome
  • Package type: Container,

Additional context

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions