pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PgAdmin3 bug on application_name
2+ messages / 2 participants
[nested] [flat]

* PgAdmin3 bug on application_name
@ 2016-08-14 17:04  VJe@n <admin@vjean.net>
  0 siblings, 1 reply; 2+ messages in thread

From: VJe@n @ 2016-08-14 17:04 UTC (permalink / raw)
  To: pgsql-bugs

Platform:

> $ uname -a && lsb_release -a
> Linux pc 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016
> x86_64 x86_64 x86_64 GNU/Linux
>


> Distributor ID:    Ubuntu
> Description:    Ubuntu 16.04.1 LTS
> Release:    16.04
> Codename:    xenial
>

Language: LANG=ru_RU.UTF-8
Distribution: deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main
Version: PgAdmin3 1.22.1 (Mar 23 2016, rev: REL-1-22-1), Latest from repo.
PostgreSQL 9.5.4 on x86_64-pc-linux-gnu, compiled by gcc (Debian 4.7.2-5)
4.7.2, 64-bit


Bug: On query "SELECT application_name FROM pg_stat_activity;" return
application name as
"pgAdmin III - ???????????????????? ????????????????"

If run from console: "$ export LANG=en_US.UTF8 && pgadmin3" and run query
return true result "pgAdmin III - Browser, pgAdmin III - Query Tool"

Problem in used locale ru_RU.

https://www.postgresql.org/docs/9.5/static/runtime-config-logging.html#GUC-APPLICATION-NAME

> application_name (string)

The application_name can be any string of less than NAMEDATALEN characters
(64 characters in a standard build). It is typically set by an application
upon connection to the server. The name will be displayed in the
pg_stat_activity view and included in CSV log entries. It can also be
included in regular log entries via the log_line_prefix
<https://www.postgresql.org/docs/9.5/static/runtime-config-logging.html#GUC-LOG-LINE-PREFIX;
parameter. Only printable ASCII characters may be used in the
application_name value. Other characters will be replaced with question
marks (?).



Sorry for bad english.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: PgAdmin3 bug on application_name
@ 2016-08-23 00:15  Bruce Momjian <bruce@momjian.us>
  parent: VJe@n <admin@vjean.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2016-08-23 00:15 UTC (permalink / raw)
  To: VJe@n <admin@vjean.net>; +Cc: pgsql-bugs

On Sun, Aug 14, 2016 at 08:04:58PM +0300, VJe@n wrote:
> Platform:
> 
>     $ uname -a && lsb_release -a
>     Linux pc 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016
>     x86_64 x86_64 x86_64 GNU/Linux
> 
>  
> 
>     Distributor ID:    Ubuntu
>     Description:    Ubuntu 16.04.1 LTS
>     Release:    16.04
>     Codename:    xenial
> 
> 
> Language: LANG=ru_RU.UTF-8
> Distribution: deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main
> Version: PgAdmin3 1.22.1 (Mar 23 2016, rev: REL-1-22-1), Latest from repo.
> PostgreSQL 9.5.4 on x86_64-pc-linux-gnu, compiled by gcc (Debian 4.7.2-5)
> 4.7.2, 64-bit

You can get pgadmin support here:

	http://www.pgadmin.org/support/

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+                     Ancient Roman grave inscription +


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-08-23 00:15 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-08-14 17:04 PgAdmin3 bug on application_name VJe@n <admin@vjean.net>
2016-08-23 00:15 ` Bruce Momjian <bruce@momjian.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox