Package: pg-activity
Version: 1.1.1-1
Severity: normal

Dear Maintainer,

I tried to launch pg_host with postgres environment variables, like this:
> bob@Bob:~$ PGUSER=Mary PGHOST=123 PGPORT=example pg_activity
Variables i passed were not used however, pg_activity simply displayed data
for default user (Bob) and not for Mary.
It works as expected when i install package with python3 package manager (pip3)
however.
I looked at source code, os.environ.get method is used to get PGUSER, PGHOST
and PGPORT variables.


-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pg-activity depends on:
ii  python           2.7.9-1
ii  python-psutil    2.1.1-1+b1
ii  python-psycopg2  2.5.4+dfsg-1

pg-activity recommends no packages.

pg-activity suggests no packages.

-- no debconf information

Reply via email to