Enums printout - possible bug

From: "Bartosz Dmytrak" <bdmytrak(at)gmail(dot)com>
To: <pgadmin-support(at)postgresql(dot)org>
Subject: Enums printout - possible bug
Date: 2017-12-08 20:08:19
Message-ID: 001401d37060$4b72c360$e2584a20$@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgadmin-support

Hi all,

According to documentation: https://www.postgresql.org/docs/current/static/functions-enum.html when I execute SELECT enum_range(null::rainbow) then output should look like this: {red,orange,yellow,green,blue,purple}

But in pgAdmin output looks like this: {{,r,e,d,,,o,r,a,n,g,e,,,y,e,l,l,o,w,,,g,r,e,e,n,,,b,l,u,e,,,p,u,r,p,l,e,}}. When you click on the field, popup window shows correct value. I’ve double checked it in psql, and output is correct. I think it could be considered as bug in pgAdmin

PgAdmin details:

Version 2.0

Python Version 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)]

Flask Version 0.12.2

Application Mode Desktop

Pg Version: 10.1

Regardless this one, many thanks for your great job pgAdmin Team!

Best regards,

Bartosz Dmytrak

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-12-09 05:15:26 Re: Enums printout - possible bug
Previous Message Murtuza Zabuawala 2017-12-08 05:51:14 [pgAdmin4][Patch]: Change password doesn't work if pgpass file is used

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2017-12-09 05:15:26 Re: Enums printout - possible bug
Previous Message Khushboo Vashi 2017-12-06 11:55:40 Re: PGAdmin4 Not closing connections