Types beginning with underscores are not shown in treeview

From: Evan Martin <postgresql(at)realityexists(dot)net>
To: pgadmin-support(at)postgresql(dot)org
Subject: Types beginning with underscores are not shown in treeview
Date: 2014-09-08 15:12:47
Message-ID: 540DC76F.9090906@realityexists.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hello,

The Types list in the pgAdmin treeview doesn't seem to include user
types whose names begin with underscores. Eg. if I run

CREATE TYPE my_type1 AS (val integer);
CREATE TYPE _my_type2 AS (val integer);

my_type1 is shown, but _my_type2 is not. (I even tried enabling "Show
System Objects in treeview" just in case.)

Tested this both on 1.18.1 in Windows and latest git revision on Linux.

Perhaps this is related to PostgreSQL officially disallowing
user-defined types beginning with underscores a long time ago
<http://www.postgresql.org/message-id/1679003548.20061212104413@microolap.com>,
but they're definitely allowed now.

Regards,

Evan

Browse pgadmin-support by date

  From Date Subject
Next Message Christoph Berg 2014-09-13 07:08:37 Re: PgAdmin Crash Dialog
Previous Message Dave Page 2014-09-08 10:06:26 Re: Stop pgpass.conf EOL conversion