Your message dated Thu, 6 Oct 2016 09:00:15 +0200 with message-id <[email protected]> and subject line Re: Bug#839838: pg-activity: Failing to process postgres environment variables has caused the Debian Bug report #839838, regarding pg-activity: Failing to process postgres environment variables to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 839838: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839838 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---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
--- End Message ---
--- Begin Message ---Robert, On Wed, Oct 05, 2016 at 07:33:04PM +0300, Nikolich Robert wrote: [...] > I tried to launch pg_host with postgres environment variables, like this: > > bob@Bob:~$ PGUSER=Mary PGHOST=123 PGPORT=example pg_activity It's not a bug, this feature is only supported since version 1.3.0. I will package pg_activity 1.3.1 soon and I will uploaded it into jessie-backports once it will hit testing. Regards, M. -- Emmanuel Bouthenot mail: kolter@{openics,debian}.org gpg: 4096R/0x929D42C3 xmpp: [email protected] irc: kolter@{freenode,oftc}
--- End Message ---

