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

Support other unix ports #1094

Open
StyXman opened this issue Nov 16, 2024 · 0 comments
Open

Support other unix ports #1094

StyXman opened this issue Nov 16, 2024 · 0 comments

Comments

@StyXman
Copy link

StyXman commented Nov 16, 2024

What did you do?

Run postgres on unix socket /var/run/postgresql/.s.PGSQL.5433. Run pg_exp with DATA_SOURCE_NAME='host=/var/run/postgresql/.s.PGSQL.5433 dbname=gis'

What did you see instead? Under which circumstances?

err="dial unix /var/run/postgresql/.s.PGSQL.5433/.s.PGSQL.5432: connect: not a directory"

Also tried removing the socket filename, just leavinbg the run directory, but pg_exp still only tries the 5432 socket and not 5433.

Environment

  • System information:

    Linux 6.1.0-7-amd64 x86_64

Debian stable.

  • postgres_exporter version:
postgres_exporter, version 0.11.1 (branch: debian/sid, revision: 0.11.1-3+b5)
  build user:       [email protected]
  build date:       20230409-10:13:00
  go version:       go1.19.8
  platform:         linux/amd64
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

No branches or pull requests

1 participant