[pgadmin-hackers] [pgAdmin4][PATCH] To fix the issue in server stats sql (PPAS9.2)
[pgadmin-hackers] [pgAdmin4][PATCH] To fix the issue in server stats sql (PPAS9.2)
Hi,
PFA minor patch to fix the in server stats sql where it was fails to execute because it is not able to concat inet (type) when using with || operator.
Fails:
select client_addr || ':' || client_port from pg_stat_activity
Works:
select client_addr::text || ':' || client_port from pg_stat_activity
Fixes RM#1831
--
Regards,
Re: [pgadmin-hackers] [pgAdmin4][PATCH] To fix the issue in serverstats sql (PPAS9.2)
От:
Dave Page <dpage@pgadmin.org>
Дата:
Thanks - patch applied.
On Tue, May 16, 2017 at 4:43 PM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi,PFA minor patch to fix the in server stats sql where it was fails to execute because it is not able to concat inet (type) when using with || operator.Fails:select client_addr || ':' || client_port from pg_stat_activityWorks:select client_addr::text || ':' || client_port from pg_stat_activityFixes RM#1831--Regards,
--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company